On Sat, Jan 14, 2012 at 10:32 AM, Miles Bader <[email protected]> wrote:
>
> C-u doesn't sound that bad, but maybe a little hard for the user to
> discover.  Given that the current behavior in the "no changes" case is
> to do nothing at all, which is almost certainly not what the user
> wanted, any reason to not just use another prompt at that point?
> ("There are no changes to commit; would you like to amend the previous
> log message?")

Hi,

the fix that's been pushed has the following characteristics:
* c opens the log-edit window anyway, without activating any flag (if
you want to amend or allow-empty, hit C-c C-a or C-c C-e yourself)
* C-u c opens the log-edit window in amend mode directly
* C-u C-u c opens the log-edit window in allow-empty mode directly
* in case you didn't set the necessary flags when you hit C-c C-c, the
error message suggests the appropriate keybindings to toggle them

Yann.

Reply via email to