From a1d760df1e0ac59a9303799115661ba59a1721be Mon Sep 17 00:00:00 2001 From: Tom Clark Date: Mon, 21 Feb 2011 23:32:27 -0500 Subject: [PATCH] Write pages to the proper branch --- lib/gollum/committer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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