Fix push with refspecs containing wildcards
commit6e66bf3c7953d68a5a2d57300e0f9077cf1767bf
authorAlex Riesen <raa.lkml@gmail.com>
Thu, 7 Jun 2007 23:43:05 +0000 (8 01:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Jun 2007 07:40:39 +0000 (8 00:40 -0700)
tree0530c638c6e1062eb6d20850ec414b17c753a001
parenta6080a0a44d5ead84db3dabbbc80e82df838533d
Fix push with refspecs containing wildcards

Otherwise

    git push 'remote-name' 'refs/heads/*:refs/remotes/other/*'

will consider references in "refs/heads" of the remote repository
"remote-name", instead of the ones in "refs/remotes/other", which
the given refspec clearly means.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c