]> git.ipfire.org Git - thirdparty/git.git/commit - transport-helper.c
transport-helper: barf when user tries old:new
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 21 May 2013 01:02:45 +0000 (20:02 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 May 2013 16:53:59 +0000 (09:53 -0700)
commit67c9c782dae17822266783f8b5e15d73e7c91c65
tree52bf79778f3df007bceaebe8634448788bc11766
parent9134a460e3ebfc93790e98d74b3cda2bcca8eb8b
transport-helper: barf when user tries old:new

Otherwise with certain remote helpers (the ones that support 'export'),
the users will be pushing to the wrong branch:

  git push topic:master

Will push the topic branch, as if the user typed:

  git push topic

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c