Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ident: rename IDENT_ERROR_ON_NO_NAME to IDENT_STRICT
[gitweb.git]
/
builtin
/
show-ref.c
diff --git
a/builtin/show-ref.c
b/builtin/show-ref.c
index fafb6dd50081b3af22bdbcde898d170ef47f679d..3911661900f79562133b4ebd6cbb513a06232b5b 100644
(file)
--- a/
builtin/show-ref.c
+++ b/
builtin/show-ref.c
@@
-225,7
+225,7
@@
int cmd_show_ref(int argc, const char **argv, const char *prefix)
unsigned char sha1[20];
if (!prefixcmp(*pattern, "refs/") &&
-
resolve_ref(*pattern, sha1, 1, NULL
)) {
+
!read_ref(*pattern, sha1
)) {
if (!quiet)
show_one(*pattern, sha1);
}