struct name_entry: use struct object_id instead of unsigned char sha1[20]
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
82db3d44e7
commit
7d924c9139
@ -110,16 +110,16 @@ static void process_tree(struct rev_info *revs,
|
||||
|
||||
if (S_ISDIR(entry.mode))
|
||||
process_tree(revs,
|
||||
lookup_tree(entry.sha1),
|
||||
lookup_tree(entry.oid->hash),
|
||||
show, base, entry.path,
|
||||
cb_data);
|
||||
else if (S_ISGITLINK(entry.mode))
|
||||
process_gitlink(revs, entry.sha1,
|
||||
process_gitlink(revs, entry.oid->hash,
|
||||
show, base, entry.path,
|
||||
cb_data);
|
||||
else
|
||||
process_blob(revs,
|
||||
lookup_blob(entry.sha1),
|
||||
lookup_blob(entry.oid->hash),
|
||||
show, base, entry.path,
|
||||
cb_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user