Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: rename LOOKUP_UNKNOWN_OBJECT
[gitweb.git]
/
builtin
/
cat-file.c
diff --git
a/builtin/cat-file.c
b/builtin/cat-file.c
index 4bffd7a2d8eee2ea251afef70f63f646f184a339..209374b3caf1d9268f54c4d8dd2ac932fb6b62b7 100644
(file)
--- a/
builtin/cat-file.c
+++ b/
builtin/cat-file.c
@@
-60,7
+60,7
@@
static int cat_one_file(int opt, const char *exp_type, const char *obj_name,
const char *path = force_path;
if (unknown_type)
- flags |=
LOOKUP_UNKNOWN_OBJECT
;
+ flags |=
OBJECT_INFO_ALLOW_UNKNOWN_TYPE
;
if (get_sha1_with_context(obj_name, GET_SHA1_RECORD_PATH,
oid.hash, &obj_context))