summaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorMichael Rappazzo <rappazzo@gmail.com>2015-10-02 07:55:31 -0400
committerJunio C Hamano <gitster@pobox.com>2015-10-02 13:07:38 -0700
commitac6c561b598ae74d8e752e22607194536000e4db (patch)
tree691b1b7c6835177276ffca71cc59263f4c35c133 /branch.h
parent8d530c4d64ffcc853889f7b385f554d53db375ed (diff)
downloadgit-ac6c561b598ae74d8e752e22607194536000e4db.tar.gz
worktree: add top-level worktree.c
worktree.c contains functions to work with and get information from worktrees. This introduction moves functions related to worktrees from branch.c into worktree.c Signed-off-by: Michael Rappazzo <rappazzo@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
-rw-r--r--branch.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/branch.h b/branch.h
index d3446ed73c..58aa45fe72 100644
--- a/branch.h
+++ b/branch.h
@@ -59,12 +59,4 @@ extern int read_branch_desc(struct strbuf *, const char *branch_name);
*/
extern void die_if_checked_out(const char *branch);
-/*
- * Check if a per-worktree symref points to a ref in the main worktree
- * or any linked worktree, and return the path to the exising worktree
- * if it is. Returns NULL if there is no existing ref. The caller is
- * responsible for freeing the returned path.
- */
-extern char *find_shared_symref(const char *symref, const char *target);
-
#endif