diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2009-03-24 02:09:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-23 21:02:26 -0700 |
commit | 78509d2197ff18d1de02c27a5406328f75b95306 (patch) | |
tree | 73a9f9db32c248d31157b3c03e5cf85db41d929d | |
parent | f198e218494800787909af0f3985350c3ecc27b2 (diff) | |
download | git-78509d2197ff18d1de02c27a5406328f75b95306.tar.gz git-78509d2197ff18d1de02c27a5406328f75b95306.tar.xz |
builtin-fetch-pack: use warning() instead of fprintf(stderr, "warning: ")
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | builtin-fetch-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |