]> khamidou — GitHub mirrors - arcanist.git/commit
Don't check working copy status for "arc commit --show"
authorepriestley <git@epriestley.com>
Tue, 1 May 2012 17:35:14 +0000 (10:35 -0700)
committerepriestley <git@epriestley.com>
Tue, 1 May 2012 17:35:14 +0000 (10:35 -0700)
commit47ed2aca95df49c8e1717d36e0b1055bcb369fbc
tree5ea36a271f9e33aae33aed6cbbda9baf574fa60d
parentc0c3c8a1135604fc0ebe568629f236db29124d12
Don't check working copy status for "arc commit --show"

Summary:
We do unnecessary working copy checks under "--show", even though the working copy isn't relevant.

Also, 'sourcePath' may not be set (e.g., "arc commit --show --revision X" where X is some "--only" revision).

Test Plan: Ran "arc commit --show --revision 1" against some test data, got clean output.

Reviewers: vrana, btrahan, jungejason

Reviewed By: vrana

CC: aran
Differential Revision: https://secure.phabricator.com/D2353
src/workflow/commit/ArcanistCommitWorkflow.php