From 403d6795e3cab5884c9ab76dbba8bd842d58177e Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 21 Dec 2017 02:26:28 +0000 Subject: git-push-all respects --no-verify --- bin/git-push-all | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/git-push-all') diff --git a/bin/git-push-all b/bin/git-push-all index 0633b949..1bb53806 100755 --- a/bin/git-push-all +++ b/bin/git-push-all @@ -85,7 +85,11 @@ foreach my $remote ( keys %pushes ) { # pushRemote of master branch, if that exists?) # I almost certainly want all tags on that remote (e.g. an alioth repo) my @branches = @{ $pushes{$remote} }; - system "git push --follow-tags $remote @branches"; + if ( "--no-verify" ~~ @ARGV ) { + system "git push --follow-tags --no-verify $remote @branches"; + } else { + system "git push --follow-tags $remote @branches"; + } exit 1 if ( $? != 0 ); } -- cgit v1.2.3