Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/am: convert uses of EMPTY_TREE_SHA1_BIN to the_hash_algo
[gitweb.git]
/
builtin
/
describe.c
diff --git
a/builtin/describe.c
b/builtin/describe.c
index 7e6535a8bd372ef1f560ea8ecf5f957740cd5e42..de840f96a4ba0135667261cfd74c674672f4c6b4 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 (
sha1_object_info(oid.hash
, NULL) == OBJ_BLOB)
+ else if (
oid_object_info(&oid
, NULL) == OBJ_BLOB)
describe_blob(oid, &sb);
else
die(_("%s is neither a commit nor blob"), arg);