gitreceive
gitreceive copied to clipboard
Prevent ref check from rejecting push
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.