lib/braid/commands/setup.rb in dreamcat4-braid-0.50 vs lib/braid/commands/setup.rb in dreamcat4-braid-0.52
- old
+ new
@@ -14,9 +14,13 @@
end
def setup_one(path)
mirror = config.get!(path)
+ if mirror.type == "git-clone"
+ return
+ end
+
if git.remote_url(mirror.remote)
msg "Setup: Mirror '#{mirror.path}' already has a remote. Reusing it." if verbose?
return
end