]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
git: explicitly specify the branch to push to origin
authorSimon McVittie <smcv@debian.org>
Fri, 21 Feb 2014 11:23:17 +0000 (11:23 +0000)
committerSimon McVittie <smcv@debian.org>
Fri, 21 Feb 2014 16:39:17 +0000 (16:39 +0000)
commitbe3483fe9be559a62dd88577b3a374d55b7262f3
treeaf7e515678470fa594229ae321f9355d4ab5df78
parent5e741c434d72218f1608876d23b2ccd321955e11
git: explicitly specify the branch to push to origin

git's behaviour when doing "git push origin" is configurable, and the
default is going to change in 2.0. In particular, if you've set
push.default to "nothing", the regression test will warn:

fatal: You didn't specify any refspecs to push, and push.default
is "nothing".
'git push origin' failed:  at .../lib/IkiWiki/Plugin/git.pm line 220.
IkiWiki/Plugin/git.pm