]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
Merge branch 'gb/apply-ignore-whitespace'
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 695212fca9a54d96198cb8dd5cadf347ce17c159..eee717c81b5882bd59009fb52d0484f0fb1041cb 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -468,6 +468,9 @@ extern int index_fd(unsigned char *sha1, int fd, struct stat *st, int write_obje
 extern int index_path(unsigned char *sha1, const char *path, struct stat *st, int write_object);
 extern void fill_stat_cache_info(struct cache_entry *ce, struct stat *st);
 
+/* "careful lstat()" */
+extern int check_path(const char *path, int len, struct stat *st);
+
 #define REFRESH_REALLY         0x0001  /* ignore_valid */
 #define REFRESH_UNMERGED       0x0002  /* allow unmerged */
 #define REFRESH_QUIET          0x0004  /* be quiet about it */