summaryrefslogtreecommitdiff
path: root/bin/git-push-all
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-06-28 14:22:30 +0900
committerSean Whitton <spwhitton@spwhitton.name>2016-06-28 14:22:30 +0900
commit246cace3499d4fb8fad730a0d54df23f6c192d24 (patch)
tree5d098d7414be8df21dfa2dd6894fea2f121c1fea /bin/git-push-all
parent1422a6209204b7bd27f6246681ff6c42a53e965a (diff)
downloaddotfiles-246cace3499d4fb8fad730a0d54df23f6c192d24.tar.gz
git-push-all debug print statements
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-xbin/git-push-all4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/git-push-all b/bin/git-push-all
index c782082a..027da151 100755
--- a/bin/git-push-all
+++ b/bin/git-push-all
@@ -66,13 +66,17 @@ my @remotes = $git->remote;
if ( defined $pushDefault ) {
# mode one: assume that there are read-only remotes
+ print "DEBUG: pushing to pushDefault alone\n";
foreach my $remote ( @pushRemotes ) {
+ print "DEBUG: pushing $remote\n";
system "git push --follow-tags $remote :"
unless ( $remote eq "dgit" );
}
} else {
# mode two: assume we can write to all remotes
+ print "DEBUG: pushing to all remotes\n";
foreach my $remote ( @remotes ) {
+ print "DEBUG: pushing $remote\n";
system "git push --tags $remote :"
unless ( $remote eq "dgit" );
}