lib/braid/commands/add.rb in norbert-braid-0.4.13 vs lib/braid/commands/add.rb in norbert-braid-0.5.1
- old
+ new
@@ -28,17 +28,15 @@
mirror.revision = new_revision
mirror.lock = new_revision if options["revision"]
config.update(mirror)
add_config_file
- commit_message = "Add mirror '#{mirror.path}/'#{revision_message}"
+ commit_message = "Added mirror '#{mirror.path}' at #{display_revision(mirror)}"
+
git.commit(commit_message)
+ msg commit_message
end
end
- private
- def setup_remote(mirror)
- Command.run(:setup, mirror.path)
- end
end
end
end