From: Miklos Vajna Date: Tue, 24 Mar 2009 01:09:12 +0000 (+0100) Subject: builtin-fetch-pack: use warning() instead of fprintf(stderr, "warning: ") X-Git-Tag: v1.6.3-rc0~107 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78509d2197ff18d1de02c27a5406328f75b95306;p=git.git builtin-fetch-pack: use warning() instead of fprintf(stderr, "warning: ") Signed-off-by: Junio C Hamano --- diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c index d571253a5..5d134be47 100644 --- a/builtin-fetch-pack.c +++ b/builtin-fetch-pack.c @@ -605,7 +605,7 @@ static struct ref *do_fetch_pack(int fd[2], /* When cloning, it is not unusual to have * no common commit. */ - fprintf(stderr, "warning: no common commits\n"); + warning("no common commits"); if (get_pack(fd, pack_lockfile)) die("git fetch-pack: fetch failed.");