diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-01-23 15:59:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-23 15:59:19 -0800 |
commit | a06b4c337cbfdf70709d2092ecdcd84f4e20ecb3 (patch) | |
tree | 13b87a40c90078c63b6de8c15fa329b8bccc5afd /cache.h | |
parent | 787f75f0567aa8c7347544c65e9d3bc6640a27d4 (diff) | |
parent | 875425080df13933baf484b35988d3a2dc04629e (diff) | |
download | git-a06b4c337cbfdf70709d2092ecdcd84f4e20ecb3.tar.gz |
Merge branch 'bw/read-blob-data-does-not-modify-index-state'
Code clean-up.
* bw/read-blob-data-does-not-modify-index-state:
index: improve constness for reading blob data
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -598,7 +598,7 @@ extern int chmod_index_entry(struct index_state *, struct cache_entry *ce, char extern int ce_same_name(const struct cache_entry *a, const struct cache_entry *b); extern void set_object_name_for_intent_to_add_entry(struct cache_entry *ce); extern int index_name_is_other(const struct index_state *, const char *, int); -extern void *read_blob_data_from_index(struct index_state *, const char *, unsigned long *); +extern void *read_blob_data_from_index(const struct index_state *, const char *, unsigned long *); /* do stat comparison even if CE_VALID is true */ #define CE_MATCH_IGNORE_VALID 01 |