Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
completion: drop the hard coded list of config vars
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index b5afc4584632d35afe26f4c3d0dfb09e777518b1..a4160e7f5d1321e08be78f86d63b780a1711616f 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);