Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/trace2-dst-warning'
[gitweb.git]
/
builtin
/
show-ref.c
diff --git
a/builtin/show-ref.c
b/builtin/show-ref.c
index 07ff311b46aee82f0cf5521d3b380a4d64d873e3..6456da70cc2c4d6a86c2466c483dd815b15bbb45 100644
(file)
--- a/
builtin/show-ref.c
+++ b/
builtin/show-ref.c
@@
-24,7
+24,7
@@
static void show_one(const char *refname, const struct object_id *oid)
const char *hex;
struct object_id peeled;
- if (!has_
sha1_file(oid->hash
))
+ if (!has_
object_file(oid
))
die("git show-ref: bad ref %s (%s)", refname,
oid_to_hex(oid));