diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-01-31 22:09:24 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-01-31 22:09:24 -0200 |
commit | d1ea865031d7fdabc3fb2cd405b9403a4cfe7b05 (patch) | |
tree | c68bb433c53d2e63a787d9e50df94e25ddee7ec1 /ikiwiki/bin/post-receive | |
parent | 7b304b0abbc737c9955eb601fb1d137a58dd5605 (diff) | |
download | templates-d1ea865031d7fdabc3fb2cd405b9403a4cfe7b05.tar.gz templates-d1ea865031d7fdabc3fb2cd405b9403a4cfe7b05.tar.bz2 |
Post-receive: receive.denyCurrentBranch
Diffstat (limited to 'ikiwiki/bin/post-receive')
-rwxr-xr-x | ikiwiki/bin/post-receive | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ikiwiki/bin/post-receive b/ikiwiki/bin/post-receive index 9c79a40..47d4f79 100755 --- a/ikiwiki/bin/post-receive +++ b/ikiwiki/bin/post-receive @@ -9,6 +9,7 @@ unset GIT_DIR if [ -d ".git/annex" ]; then git annex sync else + git config receive.denyCurrentBranch ignore git reset HEAD git checkout -f fi |