sha1-file.c: remove the_repo from read_object_with_reference()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
8dca754b1e
commit
d3b4705ab8
@ -172,7 +172,8 @@ static int cat_one_file(int opt, const char *exp_type, const char *obj_name,
|
||||
* fall-back to the usual case.
|
||||
*/
|
||||
}
|
||||
buf = read_object_with_reference(&oid, exp_type, &size, NULL);
|
||||
buf = read_object_with_reference(the_repository,
|
||||
&oid, exp_type, &size, NULL);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user