On Fri, Nov 02, 2012 at 10:42:24AM +0100, Matthieu Moy wrote:
nisse@lysator.liu.se (Niels Möller) writes:
quoted
I'd like to have a git commit option which is the opposite of --edit, to
use the selected commit message as is, without invoking any editor.
Main use case I see would be
git commit --amend --no-edit
Err, isn't this already working? (maybe your version of Git is too old,
but my 1.7.9.5 does this at least)
Yup, should be working since 1.7.9.
$ git tag --contains ':/commit: honour --no-edit' |
sort -V |
head -1
v1.7.9
-Peff