mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-02 11:42:41 +01:00
51cccfd21e
Summary: without "nocommit" we commit the patch to the working copy. add the nocommit flag and this commit does not happen. making this happen required adding revisionID to arc bundle to fetch the proper commit message. if we can't get a commit message -- suppose the fetch fails or the source is self::SOURCE_PATCH, we ask the user for the commit message on the command line Test Plan: git reset --hard <SOME_REV> arc patch DX, where this got us to <SOME_REV + 1> observe correct patch committed with correct commit message in working copy git reset --hard <SOME_REV> arc patch --nocommit DX, where this got us to <SOME_REV + 1> observe correct patch landed BUT NOT committed. note "commit message" does not exist since there isn't a commit...! git diff HEAD^1 > ~/file.patch git reset --hard HEAD^1 arc patch --patch ~/file.patch observe prompted for commit message and patch committed with commit message i typed in Reviewers: epriestley Reviewed By: epriestley CC: aran Maniphest Tasks: T479 Differential Revision: https://secure.phabricator.com/D1450 |
||
---|---|---|
.. | ||
__init__.php | ||
ArcanistBaseWorkflow.php |