X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-show-ref.c;h=dc76c5090f2367426201b37c5b13c2a5cbf00de2;hb=75f492ace708afb4603b922a99ced318d980b8d5;hp=572b114119db15f5f42dd79e3bc15e6d219f71db;hpb=6e13921b4f7adcc7316a76c0c4955b85b1589a65;p=git.git diff --git a/builtin-show-ref.c b/builtin-show-ref.c index 572b11411..dc76c5090 100644 --- 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)) {