Re: [BUG] - "git commit --amend" commits, when exiting the editor with no changes written

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]