diff options
Diffstat (limited to 'worktree.h')
-rw-r--r-- | worktree.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/worktree.h b/worktree.h index 2baeca2a8a..ce45b66de9 100644 --- a/worktree.h +++ b/worktree.h @@ -149,6 +149,12 @@ const struct worktree *find_shared_symref(struct worktree **worktrees, const char *target); /* + * Returns true if a symref points to a ref in a worktree. + */ +int is_shared_symref(const struct worktree *wt, + const char *symref, const char *target); + +/* * Similar to head_ref() for all HEADs _except_ one from the current * worktree, which is covered by head_ref(). */ |