Thread (44 messages) flat view 44 messages, 18 authors, 2016-06-15

Re: [RFC - draft] List of proposed future changes that are backward incompatible

From: Sitaram Chamarty <hidden>
Date: 2016-06-15 22:46:12

On 2009-02-15, david@lang.hm [off-list ref] wrote:
On Sun, 15 Feb 2009, Junio C Hamano wrote:
quoted
* git-push to update the checked out branch will be refused by default

 Make "git push" into a repository to update the branch that is checked
 out fail by default.

 http://thread.gmane.org/gmane.comp.version-control.git/107758/focus=108007
If I understand this one, it will cause grief for quite a few people.

I have a public repository that I push to and then have a trigger that 
checks out the current version, compiles it, publishes the compiled 
version, sends an announcement, etc

if I am understanding the purpose of this change, you would prohibit the 
update from taking place.
I didn't read the *entire* thread but I do believe prohibit
is too strong.  It's only the default behaviour that is
being changed -- in your situation you'd just set
receive.denyCurrentBranch to either 'warn' (the current
default) or 'ignore'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help