projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33fa4d3
)
builtin-show-ref: use warning() instead of fprintf(stderr, "warning: ")
author
Miklos Vajna
<vmiklos@frugalware.org>
Tue, 24 Mar 2009 01:09:16 +0000
(
02:09
+0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 24 Mar 2009 04:02:27 +0000
(21:02 -0700)
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-show-ref.c
patch
|
blob
|
history
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)) {