1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-11 07:11:03 +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:
vrana 2012-06-01 16:39:09 -07:00
parent c2788c8797
commit 21acd2180e

View file

@ -99,6 +99,8 @@ EOTEXT
$revision_id = $this->normalizeRevisionID($this->getArgument('revision'));
}
$repository_api->setRelativeCommit('HEAD^');
$in_working_copy = $repository_api->loadWorkingCopyDifferentialRevisions(
$this->getConduit(),
array(