]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/editpage.pm
git: When updating from remote, use git pull --prune, to avoid possible errors from...
[ikiwiki.git] / IkiWiki / Plugin / editpage.pm
index a8e75121fd672d6ee19557305433c95360582f19..1a04a72b5568f2980d8a7e00d0eaaa06a62e0e0d 100644 (file)
@@ -401,10 +401,12 @@ sub cgi_editpage ($$) {
                        # signaling to it that it should not try to
                        # do anything.
                        disable_commit_hook();
-                       $conflict=rcs_commit($file, $message,
-                               $form->field("rcsinfo"),
-                               $session->param("name"),
-                               $session->remote_addr());
+                       $conflict=rcs_commit(
+                               file => $file,
+                               message => $message,
+                               token => $form->field("rcsinfo"),
+                               session => $session,
+                       );
                        enable_commit_hook();
                        rcs_update();
                }