projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f198e21
)
builtin-fetch-pack: use warning() instead of fprintf(stderr, "warning: ")
author
Miklos Vajna
<vmiklos@frugalware.org>
Tue, 24 Mar 2009 01:09:12 +0000
(
02:09
+0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 24 Mar 2009 04:02:26 +0000
(21:02 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c
patch
|
blob
|
history
diff --git
a/builtin-fetch-pack.c
b/builtin-fetch-pack.c
index d571253a56c80e0b644b220c870b27726c8f3dfc..5d134be47c85019dd66aed742eb845f6245cbf4d 100644
(file)
--- 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.");