lib/kameleon/repository.rb in kameleon-builder-2.10.7 vs lib/kameleon/repository.rb in kameleon-builder-2.10.8
- old
+ new
@@ -28,10 +28,10 @@
def self.update(name)
check_git_binary
git_repo = File.join(Kameleon.env.repositories_path, name)
raise RepositoryError, "Repository not found '#{name}'" if not File.directory?(git_repo)
cmd = ["git", "--git-dir", File.join(git_repo, ".git"), "--work-tree",
- git_repo, "pull", "--verbose"]
+ git_repo, "pull", "--ff-only"]
process = ChildProcess.build(*cmd)
process.io.inherit!
process.start
process.wait
process.stop