summaryrefslogtreecommitdiff
path: root/worktree.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-10-05 21:01:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-10-05 21:01:52 (GMT)
commit07601b5b360264a74f94d74640999ea19cf61517 (patch)
treed84a547e243e4fb75a8a0409667fcf5686928803 /worktree.h
parent34415c76c8f67c8692090ef4911d1626689e8f38 (diff)
parenta46d1f732192a8621ead7ea5c4a3ca391ad881cb (diff)
downloadgit-07601b5b360264a74f94d74640999ea19cf61517.zip
git-07601b5b360264a74f94d74640999ea19cf61517.tar.gz
git-07601b5b360264a74f94d74640999ea19cf61517.tar.bz2
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 ff7b62e..f38e6fd 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