summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-11-07 10:57:04 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-11-07 10:57:04 -0700
commit71473e12faac3c3ab883c68a571ab6e0fe3b1a63 (patch)
tree944e0c671a2ffa0a3f175b81210ee50b4a51e08e /lib
parent03e44b89ef396b13edd346f9d8914f0b89edd077 (diff)
downloaddotfiles-71473e12faac3c3ab883c68a571ab6e0fe3b1a63.tar.gz
also let tmp/ branches through
Diffstat (limited to 'lib')
-rwxr-xr-xlib/hooks/git/pre-push_signed-off-by2
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