diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-10-05 14:01:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-10-05 14:01:52 -0700 |
commit | 07601b5b360264a74f94d74640999ea19cf61517 (patch) | |
tree | d84a547e243e4fb75a8a0409667fcf5686928803 /worktree.h | |
parent | Merge branch 'so/combine-diff-simplify' (diff) | |
parent | worktree: use skip_prefix to parse target (diff) | |
download | tgif-07601b5b360264a74f94d74640999ea19cf61517.tar.xz |
Merge branch 'ma/worktree-cleanups'
Code clean-up.
* ma/worktree-cleanups:
worktree: use skip_prefix to parse target
worktree: rename copy-pasted variable
worktree: update renamed variable in comment
worktree: inline `worktree_ref()` into its only caller
wt-status: introduce wt_status_state_free_buffers()
wt-status: print to s->fp, not stdout
wt-status: replace sha1 mentions with oid
Diffstat (limited to 'worktree.h')
-rw-r--r-- | worktree.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/worktree.h b/worktree.h index ff7b62e434..f38e6fd5a2 100644 --- a/worktree.h +++ b/worktree.h @@ -159,11 +159,4 @@ void strbuf_worktree_ref(const struct worktree *wt, struct strbuf *sb, const char *refname); -/* - * Return a refname suitable for access from the current ref - * store. The result will be destroyed at the next call. - */ -const char *worktree_ref(const struct worktree *wt, - const char *refname); - #endif |