gitreceive icon indicating copy to clipboard operation
gitreceive copied to clipboard

Prevent ref check from rejecting push

Open finwo opened this issue 4 years ago • 0 comments

This PR prevents the push from being rejected when pushing a non-master branch.

Essentially, while the && check works fine, the exit code on a non-master ref bleeds out of the loop when it's last, causing git to believe the pre-receive hook was rejected.

finwo avatar Dec 10 '21 10:12 finwo