lib/docman/git_util.rb in docman-0.0.39 vs lib/docman/git_util.rb in docman-0.0.40
- old
+ new
@@ -66,10 +66,11 @@
result
end
def self.update(path)
@logger.info "Update #{path}"
- exec("pull #{path}")
+ Dir.chdir path
+ exec('pull')
end
def self.commit(root_path, path, message, tag = nil)
if repo_changed? path
# puts message
\ No newline at end of file