From: Johannes Schindelin Date: Wed, 2 Jul 2008 17:06:56 +0000 (+0100) Subject: git fetch-pack: do not complain about "no common commits" in an empty repo X-Git-Tag: v1.6.0-rc0~161 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8cb560fc470ee0d94e188d4e9deb14b0c8ac7a91?ds=inline;hp=8cb560fc470ee0d94e188d4e9deb14b0c8ac7a91 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 Signed-off-by: Junio C Hamano ---