From: Elan Ruusamäe Date: Mon, 16 Sep 2013 06:55:03 +0000 (+0200) Subject: Disable editor on commit with --no-edit X-Git-Tag: v0.4.0~76 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/32a54ab3d31dfe234186793e4ed610ec63d88f3c Disable editor on commit with --no-edit --- 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'] . '>'