aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-02-27 21:58:30 -0800
committerJunio C Hamano <gitster@pobox.com>2011-02-27 21:58:30 -0800
commitfc7ae9c156775cc9679c0bcc7156abb7dba1bd3a (patch)
tree176d6a941baafd95b6a71e92f4ae2d077e5c6c95 /cache.h
parent99f45c2a5db46c1397a80b0ab282456006b40cb1 (diff)
parentc879daa23729547fb28aa7e8783c5e4e619a9e7c (diff)
downloadgit-fc7ae9c156775cc9679c0bcc7156abb7dba1bd3a.tar.gz
git-fc7ae9c156775cc9679c0bcc7156abb7dba1bd3a.tar.xz
Merge branch 'nd/hash-object-sanity'
* nd/hash-object-sanity: Make hash-object more robust against malformed objects Conflicts: cache.h
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 677994a23..5cc2f896d 100644
--- a/cache.h
+++ b/cache.h
@@ -516,7 +516,7 @@ struct pathspec {
extern int init_pathspec(struct pathspec *, const char **);
extern void free_pathspec(struct pathspec *);
extern int ce_path_match(const struct cache_entry *ce, const struct pathspec *pathspec);
-extern int index_fd(unsigned char *sha1, int fd, struct stat *st, int write_object, enum object_type type, const char *path);
+extern int index_fd(unsigned char *sha1, int fd, struct stat *st, int write_object, enum object_type type, const char *path, int format_check);
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);