Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/advice-doc' into maint
[gitweb.git]
/
builtin
/
show-ref.c
diff --git
a/builtin/show-ref.c
b/builtin/show-ref.c
index 45f0340c3ea004822477ed70fdd14e05dfcd9bb5..fafb6dd50081b3af22bdbcde898d170ef47f679d 100644
(file)
--- a/
builtin/show-ref.c
+++ b/
builtin/show-ref.c
@@
-145,7
+145,7
@@
static int exclude_existing(const char *match)
if (strncmp(ref, match, matchlen))
continue;
}
- if (check_ref
_format(ref
)) {
+ if (check_ref
name_format(ref, 0
)) {
warning("ref '%s' ignored", ref);
continue;
}