diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-09-21 15:57:31 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-21 16:48:11 (GMT) |
commit | 58bf2a4cc7a929d2fe0ff30eda86fcec54aef0f8 (patch) | |
tree | 14a33e0559d194d11f89ac2cdf61789db64dffcb /cache.h | |
parent | a7edadda593e34243c1cd3b3db750d502acf9b83 (diff) | |
download | git-58bf2a4cc7a929d2fe0ff30eda86fcec54aef0f8.zip git-58bf2a4cc7a929d2fe0ff30eda86fcec54aef0f8.tar.gz git-58bf2a4cc7a929d2fe0ff30eda86fcec54aef0f8.tar.bz2 |
sha1-file.c: remove implicit dependency on the_index
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -787,8 +787,8 @@ extern int ie_modified(struct index_state *, const struct cache_entry *, struct #define HASH_WRITE_OBJECT 1 #define HASH_FORMAT_CHECK 2 #define HASH_RENORMALIZE 4 -extern int index_fd(struct object_id *oid, int fd, struct stat *st, enum object_type type, const char *path, unsigned flags); -extern int index_path(struct object_id *oid, const char *path, struct stat *st, unsigned flags); +extern int index_fd(struct index_state *istate, struct object_id *oid, int fd, struct stat *st, enum object_type type, const char *path, unsigned flags); +extern int index_path(struct index_state *istate, struct object_id *oid, const char *path, struct stat *st, unsigned flags); /* * Record to sd the data from st that we use to check whether a file |