diff options
| author | Elan Ruusamäe <glen@pld-linux.org> | 2013-09-16 08:55:03 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2013-09-16 20:30:55 +0200 |
| commit | 32a54ab3d31dfe234186793e4ed610ec63d88f3c (patch) | |
| tree | 817d026474626aebea2da441cc735cc691d1a359 | |
| parent | fe6c3d3a27c1d44c185552b2b7c8560bc3cd3bf9 (diff) | |
| download | phorkie-32a54ab3d31dfe234186793e4ed610ec63d88f3c.tar.gz phorkie-32a54ab3d31dfe234186793e4ed610ec63d88f3c.zip | |
Disable editor on commit with --no-edit
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | src/phorkie/Repository/Post.php | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2013-09-16 Elan Ruusamäe <glen@pld-linux.org> + + * Disable editor on commit with --no-edit + 2013-08-20 Justin J. Novack <jnovack@gmail.com> * 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'] . '>' |
