Write pages to the proper branch
This commit is contained in:
@@ -142,7 +142,7 @@ module Gollum
|
|||||||
#
|
#
|
||||||
# Returns the String SHA1 of the new commit.
|
# Returns the String SHA1 of the new commit.
|
||||||
def commit
|
def commit
|
||||||
sha1 = index.commit(@options[:message], parents, actor)
|
sha1 = index.commit(@options[:message], parents, actor, nil, @wiki.ref)
|
||||||
@callbacks.each do |cb|
|
@callbacks.each do |cb|
|
||||||
cb.call(self, sha1)
|
cb.call(self, sha1)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user