Fix behaviour of --repo option to git pushpush-fix-repo-option-vs-argument
commit410b0a83076b51dd428a720908b4e43db9b988ca
authorMichael J Gruber <git@drmicha.warpmail.net>
Tue, 24 Feb 2009 20:57:52 +0000 (24 21:57 +0100)
committerMichael J Gruber <git@drmicha.warpmail.net>
Tue, 24 Feb 2009 20:57:52 +0000 (24 21:57 +0100)
tree65cf66f2a6382fd6f0e67837e7503351c2d63966
parent448b8dc7ca5f2d1cbeb6075c72eeabaa2cafcde1
Fix behaviour of --repo option to git push

Fix the behaviour of the --repo option to 'git push" so that it matches
the documentation: --repo provides an alternative default remote
(instead of 'origin') in case no remote argument is given and no remote
can be deduced from the tracking config of the current branch.
builtin-push.c
remote.c
remote.h
t/t5516-fetch-push.sh