X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=cache.h;h=89f6a40d1a1011bca4d546c5979d66d44b408ece;hb=2ec33cdd19bd80308fcef45828e37e79c4b56dc5;hp=6e54993256befed7b77fc54559ff196d01292ef2;hpb=bd08ecc487f3b515196cc4096094799a02de6ae3;p=git.git diff --git a/cache.h b/cache.h index 6e5499325..89f6a40d1 100644 --- a/cache.h +++ b/cache.h @@ -688,6 +688,7 @@ int normalize_path_copy(char *dst, const char *src); int longest_ancestor_length(const char *path, const char *prefix_list); char *strip_path_suffix(const char *path, const char *suffix); int daemon_avoid_alias(const char *path); +int offset_1st_component(const char *path); /* Read and unpack a sha1 file into memory, write memory to a sha1 file */ extern int sha1_object_info(const unsigned char *, unsigned long *);