summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-11-13 16:21:44 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-11-13 16:21:44 -0700
commit946f63573a0dbb4c3883b0fda862f95c6da3dce6 (patch)
treeacafc53099be60a308c82bd77bc456dbc8aa3700 /lib
parentef6f32604a5315241b2a8b4692000a026b1f9966 (diff)
downloaddotfiles-946f63573a0dbb4c3883b0fda862f95c6da3dce6.tar.gz
don't consider a remote named 'develacc' as containing branches
It's a throwaway copy.
Diffstat (limited to 'lib')
-rw-r--r--lib/perl5/Local/MrRepo/Repo/Git.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/perl5/Local/MrRepo/Repo/Git.pm b/lib/perl5/Local/MrRepo/Repo/Git.pm
index 9ae61184..ad7a8996 100644
--- a/lib/perl5/Local/MrRepo/Repo/Git.pm
+++ b/lib/perl5/Local/MrRepo/Repo/Git.pm
@@ -99,6 +99,8 @@ sub review {
@containing_remotes
= grep { not m|refs/remotes/dgit/| } @containing_remotes
unless $branch =~ m|\Arefs/heads/dgit/|;
+ @containing_remotes
+ = grep { not m|refs/remotes/develacc/| } @containing_remotes;
push @unpushed_branches, $branch unless @containing_remotes;
}
unless (@unpushed_branches == 0) {