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:
parent
b758e3737c
commit
6a7a92cdcc
1 changed files with 1 additions and 0 deletions
|
@ -1855,6 +1855,7 @@ EOTEXT
|
||||||
$local = $repository_api->getLocalCommitInformation();
|
$local = $repository_api->getLocalCommitInformation();
|
||||||
if ($local) {
|
if ($local) {
|
||||||
$result = $this->parseCommitMessagesIntoFields($local);
|
$result = $this->parseCommitMessagesIntoFields($local);
|
||||||
|
unset($result[0]['revisionID']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$result[0] = $this->dispatchWillBuildEvent($result[0]);
|
$result[0] = $this->dispatchWillBuildEvent($result[0]);
|
||||||
|
|
Loading…
Reference in a new issue