[Bps-public-commit] git-sync branch, master, updated. fa2f6a14e84de3f0288c277db8608ba1210bc74b
Alex Vandiver
alexmv at bestpractical.com
Mon Mar 3 23:36:24 EST 2014
The branch, master has been updated
via fa2f6a14e84de3f0288c277db8608ba1210bc74b (commit)
from 140de11e3e1fdc41073798184f2b1363bc3bbd2e (commit)
Summary of changes:
git-sync | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit fa2f6a14e84de3f0288c277db8608ba1210bc74b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Mon Mar 3 23:36:19 2014 -0500
Allow --pretend, when used with only local repos, to not need network
diff --git a/git-sync b/git-sync
index c78e154..5ac5378 100755
--- a/git-sync
+++ b/git-sync
@@ -281,7 +281,9 @@ stop_masters();
sub sync_all_local {
my %config = @_;
my @sshmaster = ref $config{sshmaster} ? @{$config{sshmaster}} : $config{sshmaster};
- start_master($_) for grep {defined} @sshmaster;
+ unless ($pretend) {
+ start_master($_) for grep {defined} @sshmaster;
+ }
foreach my $into ( ref $config{into} ? @{$config{into}} : $config{into} ) {
unless (-d $into) {
print colored(" Directory '$into' does not exist!\n", "bold red");
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list