]> git.ipfire.org Git - thirdparty/git.git/blobdiff - worktree.h
t7004: use "test-tool ref-store" for reflog inspection
[thirdparty/git.git] / worktree.h
index 8b7c408132d1f7c7a81824f635488955a2df3cd6..9e06fcbdf3d53f724ba6746db04db1ffd40e800f 100644 (file)
@@ -143,9 +143,10 @@ void free_worktrees(struct worktree **);
 /*
  * Check if a per-worktree symref points to a ref in the main worktree
  * or any linked worktree, and return the worktree that holds the ref,
- * or NULL otherwise. The result may be destroyed by the next call.
+ * or NULL otherwise.
  */
-const struct worktree *find_shared_symref(const char *symref,
+const struct worktree *find_shared_symref(struct worktree **worktrees,
+                                         const char *symref,
                                          const char *target);
 
 /*