lib/braid/commands/add.rb in dreamcat4-braid-0.531 vs lib/braid/commands/add.rb in dreamcat4-braid-0.533
- old
+ new
@@ -16,11 +16,11 @@
setup_remote(mirror)
if mirror.type == "git-clone"
gitclone.add_gitignore(mirror.path)
- mirror.rspec_git.update options["revision"]
- commit_message = "Added clone repository #{mirror.rspec_git.url} in #{mirror.path}"
+ mirror.rspec_git.update mirror.branch
+ commit_message = "added \'#{mirror.rspec_git.url}\' to path:\'#{mirror.path}\'"
else
mirror.fetch
new_revision = validate_new_revision(mirror, options["revision"])
target_revision = determine_target_revision(mirror, new_revision)