On Fri, Jan 13, 2012 at 10:24 AM, Miles Bader <[email protected]> wrote: > Hi, debian just updated to v 1.1 of magit, and one feature I often > used seems to have disappeared... > > It used to be that if you hit "c" with nothing staged, and then > answered "n" to the "commit all?" prompt, it would still pop up the > log-edit buffer, which then allowed one to use "C-c C-a" to amend the > previous commit message without any actual source-code changes. > > With v1.1, this doesn't work anymore -- magit seems to resist ever > displaying the log edit buffer unless there are actual source changes > to be committed (if there are no changes at all, "c" does absolutely > nothing; if there are unstaged changes, it asks the "commit all?" > question, but if one answers "n" to the prompt, it then also does > nothing). > > Is there another, more proper, way to just amend the previous commit's > message, or is this a bug...?
Hi Miles, sorry about that, this is indeed a bug. see https://github.com/magit/magit/issues/331 We're discussing the proper fix at the moment, and I'll release 1.1.1 shortly afterwards. Note that we'll probably require hitting C-u c to allow a commit when there's no change, which is slightly different from the old behavior, but shouldn't be too much of an annoyance. Sorry for the inconvenience Yann.
