Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
packfile: add repository argument to cache_or_unpack_entry
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index de840f96a4ba0135667261cfd74c674672f4c6b4..66c497f7896b597974e1c0fb2db7ff22e051d894 100644
(file)
--- a/
builtin/describe.c
+++ b/
builtin/describe.c
@@
-502,7
+502,7
@@
static void describe(const char *arg, int last_one)
if (cmit)
describe_commit(&oid, &sb);
- else if (oid_object_info(&oid, NULL) == OBJ_BLOB)
+ else if (oid_object_info(
the_repository,
&oid, NULL) == OBJ_BLOB)
describe_blob(oid, &sb);
else
die(_("%s is neither a commit nor blob"), arg);