summaryrefslogtreecommitdiff
path: root/worktree.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-10-05 14:01:52 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-10-05 14:01:52 -0700
commit07601b5b360264a74f94d74640999ea19cf61517 (patch)
treed84a547e243e4fb75a8a0409667fcf5686928803 /worktree.h
parentMerge branch 'so/combine-diff-simplify' (diff)
parentworktree: use skip_prefix to parse target (diff)
downloadtgif-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.h7
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