X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=path.h;h=1f1bf8f87a86d4444879d3fdc0a30076b2c111f3;hb=e6c0be92394ee658d97fd02a517d22192ac1eb55;hp=2ba6ca58c83487b5e02a71ce7c2f0d556c59aebe;hpb=c9808fa014aa88cc306705d308d1d9065d567ddc;p=thirdparty%2Fgit.git diff --git a/path.h b/path.h index 2ba6ca58c8..1f1bf8f87a 100644 --- 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 */