author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Wed, 2 Jul 2008 17:06:56 +0000 (18:06 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Jul 2008 18:54:22 +0000 (11:54 -0700) | ||
commit | 8cb560fc470ee0d94e188d4e9deb14b0c8ac7a91 | |
tree | 46023f9009a6afdac3217982b3f1c042901712ec | tree | snapshot |
parent | dc49308450eac06a66f136b6c49e193bef25a168 | commit | diff |
git fetch-pack: do not complain about "no common commits" in an empty repo
If the repo is empty, it is obvious that there are no common commits
when fetching from _anywhere_.
So there is no use in saying it in that case, and it can even be
annoying. Therefore suppress the message unilaterally if the repository
is empty prior to the fetch.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If the repo is empty, it is obvious that there are no common commits
when fetching from _anywhere_.
So there is no use in saying it in that case, and it can even be
annoying. Therefore suppress the message unilaterally if the repository
is empty prior to the fetch.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c | diff | blob | history |