builtin-fetch-pack: use warning() instead of fprintf(stderr, "warning: ")
Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
f198e21849
commit
78509d2197
|
@ -605,7 +605,7 @@ static struct ref *do_fetch_pack(int fd[2],
|
||||||
/* When cloning, it is not unusual to have
|
/* When cloning, it is not unusual to have
|
||||||
* no common commit.
|
* no common commit.
|
||||||
*/
|
*/
|
||||||
fprintf(stderr, "warning: no common commits\n");
|
warning("no common commits");
|
||||||
|
|
||||||
if (get_pack(fd, pack_lockfile))
|
if (get_pack(fd, pack_lockfile))
|
||||||
die("git fetch-pack: fetch failed.");
|
die("git fetch-pack: fetch failed.");
|
||||||
|
|
Loading…
Reference in New Issue