/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change check_ref_format() to take a flags argument
[git/git.git]
/
builtin
/
show-ref.c
diff --git
a/builtin/show-ref.c
b/builtin/show-ref.c
index
45f0340
..
fafb6dd
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;
}