lib/docman/git_util.rb in docman-0.0.73 vs lib/docman/git_util.rb in docman-0.0.74

- old
+ new

@@ -78,10 +78,10 @@ exec("pull #{options}") end def self.commit(root_path, path, message, tag = nil) if repo_changed? path - pull root_path + # pull root_path exec %Q(add --all #{path.slice "#{root_path}/"}) exec %Q(commit -m "#{message}") if repo_changed? path self.tag(root_path, tag) if tag Docman::Application.instance.commit_count = Docman::Application.instance.commit_count + 1 end \ No newline at end of file