Commit 33fa4d3d authored by Miklos Vajna's avatar Miklos Vajna Committed by Junio C Hamano

builtin-show-branch: use warning() instead of fprintf(stderr, "warning: ")

Signed-off-by: default avatarMiklos Vajna <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent c36d785d
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment