RFC: Possibility to re-edit last commit message

Jari Aalto jari.aalto at cante.net
Mon Jan 29 21:32:12 GMT 2007


John Arbash Meinel <john at arbash-meinel.com> writes:
>> 	Fyi, this is "commit --amend" in git.
>
> I know of this syntax, but I think a separate function makes more sense.
>
> I'm curious how other people feel, though. Aside from "that is how git
> does it", are there reasons to make it part of the commit command,
> rather than a separate command with clearly distinct functionality? (You
> wouldn't have 'bzr commit --uncommit', but maybe 'bzr commit --amend' is
> reasonable)

For me I think that the

    "Messages go together with commmits(ci)"

So it would rather be part of the commit, than new command. I don't
think addding more commands is the way to go, because this case is
just a subset of the "commit behavior", namely re-editing. Howabout
making it spelled out:

   bzr ci --edit-last-message

Jari




More information about the bazaar mailing list