Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-05-02 03:25:31 +0300
committerJunio C Hamano <gitster@pobox.com>2018-05-02 07:59:49 +0300
commit6f13fd0ec67c8a6c7cc93a4d18fd98f3429e8413 (patch)
tree47f50af5db090ddf2095889c0b5c6eb153b9991a /sha1_name.c
parent910710bb95f2678cdc8b6400fbb0a40c279c3e7f (diff)
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 'sha1_name.c')
-rw-r--r--sha1_name.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sha1_name.c b/sha1_name.c
index 5b93bf8da3..7043652a24 100644
--- a/sha1_name.c
+++ b/sha1_name.c
@@ -1698,7 +1698,6 @@ static int get_oid_with_context_1(const char *name,
name, len);
}
}
- hashcpy(oc->tree, tree_oid.hash);
if (flags & GET_OID_RECORD_PATH)
oc->path = xstrdup(filename);