From: Johannes Schindelin Date: Wed, 03 Feb 2010 09:04:30 GMT Subject: Re: [BUG] - "git commit --amend" commits, when exiting the editor with no changes written Message-ID: In-Reply-To: <76c5b8581002021609i4c05d039k35979757fbb74676@mail.gmail.com> Hi, On Tue, 2 Feb 2010, Eugene Sajine wrote: > > 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). > > Frankly, i think it is in line with "git commit" and that's the only > thing that matters here as I have no idea what programs you're talking > about. It's not. 'git commit' will abort if you delete all _and save_. So it is not the saving part, it is the deleting all part. And that's exactly how rebase -i works, or add -e: if you delete all and save, it aborts. Ciao, Dscho