l10n: git.pot: v2.9.0 round 1 (104 new, 37 removed)
[gitweb.git] / worktree.h
index ccdf69a876c91c44d9eb6ec25215850caf6cdbca..13949093cc1610fcafbefb22d1f8b9441fbd4ade 100644 (file)
@@ -42,4 +42,15 @@ extern void free_worktrees(struct worktree **);
 extern const struct worktree *find_shared_symref(const char *symref,
                                                 const char *target);
 
+int is_worktree_being_rebased(const struct worktree *wt, const char *target);
+int is_worktree_being_bisected(const struct worktree *wt, const char *target);
+
+/*
+ * Similar to git_path() but can produce paths for a specified
+ * worktree instead of current one
+ */
+extern const char *worktree_git_path(const struct worktree *wt,
+                                    const char *fmt, ...)
+       __attribute__((format (printf, 2, 3)));
+
 #endif