diff options
Diffstat (limited to 'upload-pack.c')
-rw-r--r-- | upload-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upload-pack.c b/upload-pack.c index ecc19641fe..a0f170b5b5 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -534,7 +534,7 @@ static int get_reachable_list(struct object_array *src, if (parse_oid_hex(namebuf, &oid, &p) || *p != '\n') break; - o = lookup_object(the_repository, oid.hash); + o = lookup_object(the_repository, &oid); if (o && o->type == OBJ_COMMIT) { o->flags &= ~TMP_MARK; } |