Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/replace: unset read_replace_refs
[gitweb.git]
/
builtin
/
cat-file.c
diff --git
a/builtin/cat-file.c
b/builtin/cat-file.c
index b2ca775a80f54fcceba344d5545fe3cb34ba0184..b15c0649e9d3b584b5c37d8b1038c4ff61965292 100644
(file)
--- a/
builtin/cat-file.c
+++ b/
builtin/cat-file.c
@@
-238,7
+238,7
@@
static int batch_one_object(const char *obj_name, struct batch_options *opt,
return 0;
}
- if (sha1_object_info_extended(data->sha1, &data->info) < 0) {
+ if (sha1_object_info_extended(data->sha1, &data->info
, LOOKUP_REPLACE_OBJECT
) < 0) {
printf("%s missing\n", obj_name);
fflush(stdout);
return 0;