summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2018-05-02 00:25:31 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-02 13:59:49 +0900
commit6f13fd0ec67c8a6c7cc93a4d18fd98f3429e8413 (patch)
tree47f50af5db090ddf2095889c0b5c6eb153b9991a /cache.h
parentserver-info: remove unused members from struct pack_info (diff)
downloadtgif-6f13fd0ec67c8a6c7cc93a4d18fd98f3429e8413.tar.xz
Remove unused member in struct object_context
The tree member of struct object_context is unused except in one place where we write to it. Since there are no users of this member, remove it. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 4bca177cf3..11a989319d 100644
--- a/cache.h
+++ b/cache.h
@@ -1306,7 +1306,6 @@ static inline int hex2chr(const char *s)
#define FALLBACK_DEFAULT_ABBREV 7
struct object_context {
- unsigned char tree[20];
unsigned mode;
/*
* symlink_path is only used by get_tree_entry_follow_symlinks,