summaryrefslogtreecommitdiff
path: root/bin/git-push-all
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-12-21 02:26:28 +0000
committerSean Whitton <spwhitton@spwhitton.name>2017-12-21 02:26:28 +0000
commit403d6795e3cab5884c9ab76dbba8bd842d58177e (patch)
treed0e5bb2f4acaef33f1e96f072cb50f146719cdcb /bin/git-push-all
parent4cebc464bd3ea34e1cd2722187f83734b1fd3110 (diff)
downloaddotfiles-403d6795e3cab5884c9ab76dbba8bd842d58177e.tar.gz
git-push-all respects --no-verify
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-xbin/git-push-all6
1 files changed, 5 insertions, 1 deletions
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 );
}