Re: [BUG] - "git commit --amend" commits, when exiting the editor with no changes written
- From
Larry D'Anna <larry@elder-gods.org>
- Date
- Feb 3, 2010, 06:15 UTC
- Message-ID
- <20100203061535.GA6566@cthulhu>
- In-Reply-To
- <32541b131002021540g7a2834c9hacf2be5962f66515@mail.gmail.com>
* Avery Pennarun (apenwarr@gmail.com) [100202 18:41]:
> You can however add *new* stuff. That's why I suggested adding an > option. You could even make it a config option so you only have to > set it once (just like setting your preferred editor).
Or, he can set his $EDITOR to a script that checks the mtime.
--larry