Re: Wishlist: git commit --no-edit

2012-11-02 Thread Jeff King
[+cc git@vger; please keep discussion on list] On Fri, Nov 02, 2012 at 10:37:27AM -0200, Thiago Farina wrote: > >> > git commit --amend --no-edit > [...] > > Yup, should be working since 1.7.9. > [...] > I doesn't appear in the help either: > > $ git version > git version 1.8.0.rc2 > > $ git

Re: Wishlist: git commit --no-edit

2012-11-02 Thread Niels Möller
Matthieu Moy writes: > Err, isn't this already working? (maybe your version of Git is too old, > but my 1.7.9.5 does this at least) It may be that I'm confused. It doesn't work in the version I have (1.7.2.5, debian packaged). And then I also had a quick look in the source code (of a fresh pul

Re: Wishlist: git commit --no-edit

2012-11-02 Thread Jeff King
On Fri, Nov 02, 2012 at 10:42:24AM +0100, Matthieu Moy wrote: > ni...@lysator.liu.se (Niels Möller) writes: > > > 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 >

Re: Wishlist: git commit --no-edit

2012-11-02 Thread Matthieu Moy
ni...@lysator.liu.se (Niels Möller) writes: > 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

Wishlist: git commit --no-edit

2012-11-02 Thread Niels Möller
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 (say you fix a typo in the previous commit which doesn't affect the commit message). Today, one