]> khamidou — GitHub mirrors - arcanist.git/commit
Amend commit after editing the message in diff
authorvrana <jakubv@fb.com>
Fri, 28 Sep 2012 18:49:04 +0000 (11:49 -0700)
committervrana <jakubv@fb.com>
Mon, 1 Oct 2012 16:37:22 +0000 (09:37 -0700)
commitf0a91a30c8856d8a069c3a35d33553d801fda218
tree6d28f18c01875f60321c38dbd51684f839060b5c
parentdffaa17e415615d71fb725da1f10ed2b4f13e72f
Amend commit after editing the message in diff

Summary:
We store the message to a scratch file.
But if I need to switch context, commit something else and then go back then I'll lose the message.
Amend the repository commit by it instead.
This also removes the annoying question "Do you want to use this message?".

Test Plan: Made an error in message, verified Git log.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3561
src/workflow/ArcanistDiffWorkflow.php