X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-show-branch.c;h=828e6f86de22f8def68a49b702a27521c248a012;hb=dff2b6d4842eef0a03a3c8b3761f72e2b55b609e;hp=306b850c720ecef7030bd7139f7c7d2758125ac4;hpb=0e1aa2f7af6cc11c56a780764ef0ca94c19f0724;p=git.git diff --git a/builtin-show-branch.c b/builtin-show-branch.c index 306b850c7..828e6f86d 100644 --- a/builtin-show-branch.c +++ b/builtin-show-branch.c @@ -365,8 +365,7 @@ static int append_ref(const char *refname, const unsigned char *sha1, return 0; } if (MAX_REVS <= ref_name_cnt) { - fprintf(stderr, "warning: ignoring %s; " - "cannot handle more than %d refs\n", + warning("ignoring %s; cannot handle more than %d refs", refname, MAX_REVS); return 0; }