summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-05-02 00:25:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-02 04:59:50 (GMT)
commit75691ea3458a9eb9e80f6bdc2cc7c9321a9ac4ab (patch)
tree8046d90fc5f5c61bd06f27729f6a46b860f9c3db /cache.h
parent2182abd94bf69a8daba18e71efae3e9f02a6c465 (diff)
downloadgit-75691ea3458a9eb9e80f6bdc2cc7c9321a9ac4ab.zip
git-75691ea3458a9eb9e80f6bdc2cc7c9321a9ac4ab.tar.gz
git-75691ea3458a9eb9e80f6bdc2cc7c9321a9ac4ab.tar.bz2
Update struct index_state to use struct object_id
Adjust struct index_state to use struct object_id instead of unsigned char [20]. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 e03a0d4..9ad1dd2 100644
--- a/cache.h
+++ b/cache.h
@@ -324,7 +324,7 @@ struct index_state {
drop_cache_tree : 1;
struct hashmap name_hash;
struct hashmap dir_hash;
- unsigned char sha1[20];
+ struct object_id oid;
struct untracked_cache *untracked;
uint64_t fsmonitor_last_update;
struct ewah_bitmap *fsmonitor_dirty;