diff options
Diffstat (limited to 'hooks/git/pre-push_signed-off-by')
-rwxr-xr-x | hooks/git/pre-push_signed-off-by | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hooks/git/pre-push_signed-off-by b/hooks/git/pre-push_signed-off-by index f429ad7e..eab1902c 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/tags/(archive/)?debian"; then + # let Debian upload tags through + : elif [ $(git config --get --type=bool --default=false \ branch.${local_ref#refs/heads/}.signOffOptional) \ = "true" ]; then |