diff options
| author | Patryk Obara <patryk.obara@gmail.com> | 2017-08-20 22:09:28 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-08-20 21:51:38 -0700 |
| commit | 98e019b067ac8a34e06f9c412f14a080c7c4dc0d (patch) | |
| tree | 993e29b9bcffe7603f5b7d377af86aefbb7f1785 /cache.h | |
| parent | bebfecb94c5c71091a07ebbd300740990d3266c7 (diff) | |
| download | git-98e019b067ac8a34e06f9c412f14a080c7c4dc0d.tar.gz | |
sha1_file: convert index_path 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
@@ -685,7 +685,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_path(unsigned char *sha1, const char *path, struct stat *st, unsigned flags); +extern int index_path(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 |
