Warn when send-pack does nothing
commit4c353e890c0107a8e733ab11634da21844ec38ba
authorDaniel Barkalow <barkalow@iabervon.org>
Sun, 4 Dec 2005 16:59:37 +0000 (4 11:59 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Dec 2005 18:32:49 +0000 (4 10:32 -0800)
tree17098bb6ffe08069660166a27d20eb6ea2877316
parentd79374c7b58d3814ffdc277de608243f8e665e3a
Warn when send-pack does nothing

If you try to push into an empty repository with no ref arguments to
git push, it doesn't do anything and doesn't say anything. This adds a
warning when send-pack isn't going to push anything, so you don't
assume that it silently did what you wanted.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
send-pack.c