Changing from using branch as the variable to using ref.

This commit is contained in:
Randy Merrill
2011-01-27 11:38:48 -08:00
parent 2bb1937fa9
commit a71ab7c418
4 changed files with 25 additions and 25 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, @wiki.branch, "--", @path
log = @wiki.repo.git.native "log", options, @wiki.ref, "--", @path
Grit::Commit.list_from_string(@wiki.repo, log)
else
@wiki.repo.log(@wiki.branch, @path, log_pagination_options(options))
@wiki.repo.log(@wiki.ref, @path, log_pagination_options(options))
end
end