diff options
| author | Patryk Obara <patryk.obara@gmail.com> | 2017-08-20 22:09:29 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-08-20 21:52:08 -0700 |
| commit | e3506559d476ccf94c923c30a15500b46204e146 (patch) | |
| tree | 5b881cce8baa687c519ab2265155cc850fe86291 /cache.h | |
| parent | 98e019b067ac8a34e06f9c412f14a080c7c4dc0d (diff) | |
| download | git-e3506559d476ccf94c923c30a15500b46204e146.tar.gz | |
sha1_file: convert index_fd to struct object_id
Convert all remaining callers as well.
Signed-off-by: Patryk Obara <patryk.obara@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
| -rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -684,7 +684,7 @@ extern int ie_modified(const struct index_state *, const struct cache_entry *, s #define HASH_WRITE_OBJECT 1 #define HASH_FORMAT_CHECK 2 -extern int index_fd(unsigned char *sha1, int fd, struct stat *st, enum object_type type, const char *path, unsigned flags); +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); /* |
