mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Expose diff IDs to post-diff workflows.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
746768e779
commit
adef7d4975
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,7 @@ class ArcanistDiffWorkflow extends ArcanistBaseWorkflow {
|
|||
private $hasWarnedExternals = false;
|
||||
private $unresolvedLint;
|
||||
private $unresolvedTests;
|
||||
private $diffID;
|
||||
|
||||
public function getCommandHelp() {
|
||||
return phutil_console_format(<<<EOTEXT
|
||||
|
@ -56,6 +57,10 @@ EOTEXT
|
|||
return true;
|
||||
}
|
||||
|
||||
public function getDiffID() {
|
||||
return $this->diffID;
|
||||
}
|
||||
|
||||
public function getArguments() {
|
||||
return array(
|
||||
'message' => array(
|
||||
|
@ -341,6 +346,8 @@ EOTEXT
|
|||
echo ' '.$change->renderTextSummary()."\n";
|
||||
}
|
||||
|
||||
$this->diffID = $diff_info['diffid'];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue