Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-10-06 00:01:52 +0300
committerJunio C Hamano <gitster@pobox.com>2020-10-06 00:01:52 +0300
commit07601b5b360264a74f94d74640999ea19cf61517 (patch)
treed84a547e243e4fb75a8a0409667fcf5686928803 /worktree.h
parent34415c76c8f67c8692090ef4911d1626689e8f38 (diff)
parenta46d1f732192a8621ead7ea5c4a3ca391ad881cb (diff)
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