diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-12-25 11:21:00 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-12-25 11:21:27 +0000 |
commit | 4d8f8b142f7297baf5e779f9c8935827c2f4516f (patch) | |
tree | 8d0b401fb2ea9056350171e88e65d0a3b9093646 /bin/git-push-all | |
parent | 02441752e709e2325318321d51f670eb3b66a7d5 (diff) | |
download | dotfiles-4d8f8b142f7297baf5e779f9c8935827c2f4516f.tar.gz |
git-push-all: don't check for tags on dgit remote
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-x | bin/git-push-all | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/git-push-all b/bin/git-push-all index e0a35e7e..eb71b4c9 100755 --- a/bin/git-push-all +++ b/bin/git-push-all @@ -101,9 +101,11 @@ my @remotes = $git->remote; my @pushed_tags; foreach my $remote ( @remotes ) { - my @this_remote_tags = apply { s|\^\{\}$||; s|[a-f0-9]+\trefs/tags/|| } - $git->ls_remote( { tags => 1 }, $remote ); - push @pushed_tags, @this_remote_tags; + unless ( $remote eq "dgit" ) { + my @this_remote_tags = apply { s|\^\{\}$||; s|[a-f0-9]+\trefs/tags/|| } + $git->ls_remote( { tags => 1 }, $remote ); + push @pushed_tags, @this_remote_tags; + } } @pushed_tags = uniq @pushed_tags; |