From 9f7cb920aaa7e77ece254c3ae52ee6c96fc8386b Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 24 Feb 2020 07:44:17 -0700 Subject: pre-push: let dgit pushes through --- hooks/git/pre-push_signed-off-by | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hooks') diff --git a/hooks/git/pre-push_signed-off-by b/hooks/git/pre-push_signed-off-by index eab1902c..e07cd406 100755 --- a/hooks/git/pre-push_signed-off-by +++ b/hooks/git/pre-push_signed-off-by @@ -15,6 +15,9 @@ while read local_ref local_sha remote_ref remote_sha; do elif echo "$remote_ref" | grep -Eq "^refs/heads/(wip|tmp)/"; then # wip/ branches may contain commits which are not signed off : + elif echo "$remote_ref" | grep -Eq "^refs/dgit/"; then + # let's not interfere with a dgit push + : elif echo "$remote_ref" | grep -Eq "^refs/tags/(archive/)?debian"; then # let Debian upload tags through : -- cgit v1.2.3