This commit is contained in:
rick
2011-03-31 15:11:24 -07:00
6 changed files with 76 additions and 15 deletions
+2 -2
View File
@@ -199,10 +199,10 @@ module Gollum
options[:pretty] = 'raw'
options.delete :max_count
options.delete :skip
log = @wiki.repo.git.native "log", options, "master", "--", @path
log = @wiki.repo.git.native "log", options, @wiki.ref, "--", @path
Grit::Commit.list_from_string(@wiki.repo, log)
else
@wiki.repo.log('master', @path, log_pagination_options(options))
@wiki.repo.log(@wiki.ref, @path, log_pagination_options(options))
end
end