diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-11-07 10:57:04 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-11-07 10:57:04 -0700 |
commit | 71473e12faac3c3ab883c68a571ab6e0fe3b1a63 (patch) | |
tree | 944e0c671a2ffa0a3f175b81210ee50b4a51e08e /lib | |
parent | 03e44b89ef396b13edd346f9d8914f0b89edd077 (diff) | |
download | dotfiles-71473e12faac3c3ab883c68a571ab6e0fe3b1a63.tar.gz |
also let tmp/ branches through
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/hooks/git/pre-push_signed-off-by | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hooks/git/pre-push_signed-off-by b/lib/hooks/git/pre-push_signed-off-by index 3c500deb..11e182d6 100755 --- a/lib/hooks/git/pre-push_signed-off-by +++ b/lib/hooks/git/pre-push_signed-off-by @@ -12,7 +12,7 @@ while read local_ref local_sha remote_ref remote_sha; do if [ "$local_sha" = $z40 ]; then # Permit deletion of branches : - elif echo "$remote_ref" | grep -q "^refs/heads/wip/"; then + elif echo "$remote_ref" | grep -Eq "^refs/heads/(wip|tmp)/"; then # wip/ branches may contain commits which are not signed off : else |