Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git remote update: Report error for non-existing groups
[gitweb.git]
/
builtin-show-ref.c
diff --git
a/builtin-show-ref.c
b/builtin-show-ref.c
index 572b114119db15f5f42dd79e3bc15e6d219f71db..dc76c5090f2367426201b37c5b13c2a5cbf00de2 100644
(file)
--- a/
builtin-show-ref.c
+++ b/
builtin-show-ref.c
@@
-140,7
+140,7
@@
static int exclude_existing(const char *match)
continue;
}
if (check_ref_format(ref)) {
-
fprintf(stderr, "warning: ref '%s' ignored\n
", ref);
+
warning("ref '%s' ignored
", ref);
continue;
}
if (!string_list_has_string(&existing_refs, ref)) {