aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2014-02-21 14:12:00 -0400
committeradmin <admin@branchable.com>2014-02-21 14:12:00 -0400
commitded1779969453d60b27fbccb012b0a07d360be3c (patch)
treeb4722782ee6ac01377535a4d35e8b68b5b8707ac /doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn
parent1184f59c867fc7834ee1335cc0b6a91716e222cc (diff)
downloadikiwiki-ded1779969453d60b27fbccb012b0a07d360be3c.tar
ikiwiki-ded1779969453d60b27fbccb012b0a07d360be3c.tar.gz
new bug report with patch
Diffstat (limited to 'doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn')
-rw-r--r--doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn b/doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn
new file mode 100644
index 000000000..20d1dd436
--- /dev/null
+++ b/doc/bugs/assumes___34__git_push_origin__34___is_sufficient.mdwn
@@ -0,0 +1,16 @@
+[[!template id=gitbranch branch=smcv/ready/git-push-origin-master
+ browse="http://git.pseudorandom.co.uk/smcv/ikiwiki.git/shortlog/refs/heads/ready/git-push-origin-master"
+ author="[[smcv]]"]]
+[[!tag patch]]
+
+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 "explicit is better than implicit" option),
+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.
+
+The solution is to do "git push origin master" instead (but with the
+configured remote and branch names). --[[smcv]]