1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-09 00:12:40 +01:00
phorge-arcanist/scripts
James Rhodes 2900ab6abd Added automatic stash / unstash support for Git in arc diff.
Summary:
- Added arc.autostash option to have this behaviour off by
default (but configurable on a per-project basis).
- Automatic stashing of changes now informs the user of how
to restore their working directory if Arcanist unexpectedly
terminates.
- Fixed an issue with finalizeWorkingCopy when the workflow
didn't require a clean working copy.

Test Plan:
Test `arc diff` when there are changes in the working
directory; by default it should tell you to stash or commit.
Turn on the arc.autostash option and try again; it should
automatically stash with a message on how to recover, and
it should restore the working directory automatically under
almost any circumstances (other than an unrecoverable error).

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5385
2013-03-21 16:00:05 -07:00
..
hgdaemon Delete license headers from files 2012-11-05 11:16:24 -08:00
lib Improve Windows compatibility 2013-03-10 18:08:41 -07:00
repository Use binary safe diff in arc diff 2012-07-03 13:33:28 -07:00
__init_script__.php Allow arc to be run in arcanist/ or libphutil/ 2012-12-17 16:35:03 -08:00
arcanist.php Added automatic stash / unstash support for Git in arc diff. 2013-03-21 16:00:05 -07:00
breakout.py Use /usr/bin/env python 2012-09-06 19:13:57 -07:00
php_extension_classes.txt Include extension classes in the builtin list 2012-07-26 14:46:53 -07:00
php_extension_functions.txt Improve management of zlib dependency 2012-08-20 17:26:42 -07:00
phutil_rebuild_map.php Delete license headers from files 2012-11-05 11:16:24 -08:00
phutil_symbols.php Allow new self in linter 2013-03-05 13:51:58 -08:00
update_compat_info.php Delete license headers from files 2012-11-05 11:16:24 -08:00