1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Create a new diff if the user says so

Summary: If I have //Differential Revision// in my commit message then `arc diff --create` updates that revision instead of creating a new one.

Test Plan:
  $ arc diff --create # on top of commit message with Differential Revision

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5077
This commit is contained in:
vrana 2013-02-22 09:48:33 -08:00
parent b758e3737c
commit 6a7a92cdcc

View file

@ -1855,6 +1855,7 @@ EOTEXT
$local = $repository_api->getLocalCommitInformation();
if ($local) {
$result = $this->parseCommitMessagesIntoFields($local);
unset($result[0]['revisionID']);
}
$result[0] = $this->dispatchWillBuildEvent($result[0]);