push: add advice for rejected tag reference
authorChris Rorvick <chris@rorvick.com>
Fri, 30 Nov 2012 01:41:34 +0000 (19:41 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2012 09:39:50 +0000 (01:39 -0800)
commitb24e6047a8da3cddfd686e6a9157ed4bac28ed4f
tree6cb17f7ea002a44c823a5c034f5cb856249afe81
parent10643d4ec3b9c5898d93d1c20e98b2ff1906bf79
push: add advice for rejected tag reference

Advising the user to fetch and merge only makes sense if the rejected
reference is a branch.  If none of the rejections are for branches, just
tell the user the reference already exists.

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c
cache.h
remote.c
transport.c
transport.h