Code

Fix pushing to a pattern with no dst
authorDaniel Barkalow <barkalow@iabervon.org>
Fri, 15 Jun 2007 14:22:37 +0000 (10:22 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 Jun 2007 08:20:26 +0000 (01:20 -0700)
commitefd8f793e472069459c30e5d21bb2d203436c72a
treee6c60b11875f3d72370d5f2faf73d19dc2491e2e
parent38570a47fcd9d7631c03673249f587697fa85677
Fix pushing to a pattern with no dst

Refspecs with no colons are left with no dst value, because they are
interepreted differently for fetch and push. For push, they mean to
reuse the src side. Fix this for patterns.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c