mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-25 22:18:18 +01:00
Examine only HEAD in amend workflow
Summary: We don't support `git rebase -i` or other magic in `arc amend` so we can examine just HEAD which we always amend. Test Plan: `arc amend` on a branch with two commits. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2643
This commit is contained in:
parent
c2788c8797
commit
21acd2180e
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ EOTEXT
|
||||||
$revision_id = $this->normalizeRevisionID($this->getArgument('revision'));
|
$revision_id = $this->normalizeRevisionID($this->getArgument('revision'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$repository_api->setRelativeCommit('HEAD^');
|
||||||
|
|
||||||
$in_working_copy = $repository_api->loadWorkingCopyDifferentialRevisions(
|
$in_working_copy = $repository_api->loadWorkingCopyDifferentialRevisions(
|
||||||
$this->getConduit(),
|
$this->getConduit(),
|
||||||
array(
|
array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue