Merge branch 'js/push-to-deploy'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:27:03 +0000 (12:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:27:04 +0000 (12:27 -0800)
"git push" into a repository with a working tree normally refuses
to modify the branch that is checked out. The command learned to
optionally do an equivalent of "git reset --hard" only when there
is no change to the working tree and the index instead, which would
be useful to "deploy" by pushing into a repository.

* js/push-to-deploy:
t5516: more tests for receive.denyCurrentBranch=updateInstead
receive-pack: add another option for receive.denyCurrentBranch

1  2 
Documentation/config.txt
builtin/receive-pack.c
Simple merge
Simple merge