]> git.ipfire.org Git - thirdparty/git.git/blobdiff - path.h
dir: fix a few confusing comments
[thirdparty/git.git] / path.h
diff --git a/path.h b/path.h
index 2ba6ca58c83487b5e02a71ce7c2f0d556c59aebe..1f1bf8f87a86d4444879d3fdc0a30076b2c111f3 100644 (file)
--- a/path.h
+++ b/path.h
@@ -177,11 +177,12 @@ struct path_cache {
        const char *merge_rr;
        const char *merge_mode;
        const char *merge_head;
+       const char *merge_autostash;
        const char *fetch_head;
        const char *shallow;
 };
 
-#define PATH_CACHE_INIT { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
+#define PATH_CACHE_INIT { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
 
 const char *git_path_cherry_pick_head(struct repository *r);
 const char *git_path_revert_head(struct repository *r);
@@ -190,7 +191,11 @@ const char *git_path_merge_msg(struct repository *r);
 const char *git_path_merge_rr(struct repository *r);
 const char *git_path_merge_mode(struct repository *r);
 const char *git_path_merge_head(struct repository *r);
+const char *git_path_merge_autostash(struct repository *r);
 const char *git_path_fetch_head(struct repository *r);
 const char *git_path_shallow(struct repository *r);
 
+
+int ends_with_path_components(const char *path, const char *components);
+
 #endif /* PATH_H */