]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
Optimize symlink/directory detection
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 4803b032ec1d52f3253060c0bdbe09a4796f346e..0d9d9e25770cd18cf83b810dc29ec10163aa1620 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -598,7 +598,7 @@ struct checkout {
 };
 
 extern int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *topath);
-extern int has_symlink_leading_path(const char *name, char *last_symlink);
+extern int has_symlink_leading_path(int len, const char *name);
 
 extern struct alternate_object_database {
        struct alternate_object_database *next;