diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-07-10 12:23:01 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-07-10 12:23:01 +0100 |
commit | e32c5cb02e90720083a70f1053c449abda142486 (patch) | |
tree | 3273ee3a90a4f65670ad0b1b4c44bd017a164cda /bin/git-push-all | |
parent | d9d569984458e248008d78e5b2076293cdf015f5 (diff) | |
download | dotfiles-e32c5cb02e90720083a70f1053c449abda142486.tar.gz |
comment out debug messages in my git push and pull scripts
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-x | bin/git-push-all | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/git-push-all b/bin/git-push-all index 72c41e56..3c04b254 100755 --- a/bin/git-push-all +++ b/bin/git-push-all @@ -64,16 +64,16 @@ foreach my $branch ( @branches ) { my $tracking = $config->get( key => "branch.$branch.remote" ); if ( defined $pushRemote ) { - print "I: pushing $branch to $pushRemote (its pushRemote)\n"; + # print "I: pushing $branch to $pushRemote (its pushRemote)\n"; push @{ $pushes{$pushRemote} }, $branch; # don't push unless it already exists on the remote: this script # avoids creating branches } elsif ( defined $pushDefault && "remotes/$pushDefault/$branch" ~~ @allBranches ) { - print "I: pushing $branch to $pushDefault (the remote.pushDefault)\n"; + # print "I: pushing $branch to $pushDefault (the remote.pushDefault)\n"; push @{ $pushes{$pushDefault} }, $branch; } elsif ( !defined $pushDefault && defined $tracking ) { - print "I: pushing $branch to $tracking (probably to its tracking branch)\n"; + # print "I: pushing $branch to $tracking (probably to its tracking branch)\n"; push @{ $pushes{$tracking} }, $branch; } else { die "E: couldn't find anywhere to push $branch"; |