diff --git a/lib/gollum/committer.rb b/lib/gollum/committer.rb index 68161f83..2b40cd27 100644 --- a/lib/gollum/committer.rb +++ b/lib/gollum/committer.rb @@ -142,7 +142,7 @@ module Gollum # # Returns the String SHA1 of the new commit. def commit - sha1 = index.commit(@options[:message], parents, actor) + sha1 = index.commit(@options[:message], parents, actor, nil, @wiki.ref) @callbacks.each do |cb| cb.call(self, sha1) end