Re: [BUG] - "git commit --amend" commits, when exiting the editor with no changes written
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 2, 2010, 23:58 UTC
- Message-ID
- <alpine.DEB.1.00.1002030056480.4985@pacific.mpi-cbg.de>
- In-Reply-To
- <76c5b8581002021534i1f0dbd18y1b216233d282cd84@mail.gmail.com>
Hi,
On Tue, 2 Feb 2010, Eugene Sajine wrote:
Show 7 quoted lines
> > Of course, you could come up with wonderfully complicated strategies > > such as "if nothing was added, then an unmodified commit message means > > 'abort', else it means 'go ahead'", but I hope that you agree that > > this would be very bad from the users' POV: it would be utterly > > confusing. > > No complicated strategies necessary.
Sorry, your "if message was not saved, abort" is so out of line with any program I use that this would be highly confusing (maybe "complicated" was the wrong choice of words).
IMO it would not buy us anything over the current solution, which also requires the user to read the manual.
Ciao, Dscho