From 32a54ab3d31dfe234186793e4ed610ec63d88f3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 16 Sep 2013 08:55:03 +0200 Subject: [PATCH] Disable editor on commit with --no-edit --- ChangeLog | 4 ++++ src/phorkie/Repository/Post.php | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2d10757..35a5218 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-09-16 Elan Ruusamäe + + * Disable editor on commit with --no-edit + 2013-08-20 Justin J. Novack * Add perPage settings into config diff --git a/src/phorkie/Repository/Post.php b/src/phorkie/Repository/Post.php index 408cb00..e2e4e91 100644 --- a/src/phorkie/Repository/Post.php +++ b/src/phorkie/Repository/Post.php @@ -134,6 +134,7 @@ class Repository_Post $vc->getCommand('commit') ->setOption('message', '') ->setOption('allow-empty-message') + ->setOption('no-edit') ->setOption( 'author', $sessionData['name'] . ' <' . $sessionData['email'] . '>' -- 2.30.2