diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-26 15:55:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-26 15:55:16 -0700 |
commit | a46dcfb8403191ce042ad123a3314a174fa9ca4c (patch) | |
tree | fa2b1265bbc89430e02e5b4ebc59f85ab6b55eb7 /branch.h | |
parent | Merge branch 'jc/am-3-fallback-regression-fix' (diff) | |
parent | worktree: add 'list' command (diff) | |
download | tgif-a46dcfb8403191ce042ad123a3314a174fa9ca4c.tar.xz |
Merge branch 'mr/worktree-list'
Add the "list" subcommand to "git worktree".
* mr/worktree-list:
worktree: add 'list' command
worktree: add details to the worktree struct
worktree: add a function to get worktree details
worktree: refactor find_linked_symref function
worktree: add top-level worktree.c
Diffstat (limited to 'branch.h')
-rw-r--r-- | branch.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |