• Quinn Ebert's avatar
    Implement T338: config option to remove need for passing --allow-untracked to arc diff · 6ed3361d
    Quinn Ebert authored
    Summary: The new config option for this is `diff.allow-untracked` -- set it to `true` to have `--allow-untracked` be the default behaviour.
    
    Test Plan:
    This was tested by creating a new file in the working copy, and running the code in three different sets of configurations:
    1. No config value set (tested with and without passing `--allow-untracked`)
    2. Config value set to `true` (tested without passing `--allow-untracked`)
    3. Config value set to value other than `true` (as expected, this only enables `--allow-untracked` behaviour when `--allow-untracked` is passed)
    
    Reviewers: daniels
    
    Reviewed By: daniels
    
    Subscribers: daniels, dqebert3
    
    Maniphest Tasks: T338
    
    Differential Revision: https://phabricator.collabora.co.uk/D116
    6ed3361d
Name
Last commit
Last update
..
__tests__ Loading commit data...
configuration Loading commit data...
difference Loading commit data...
differential Loading commit data...
docs/book Loading commit data...
events/constant Loading commit data...
exception Loading commit data...
extensions Loading commit data...
hgdaemon Loading commit data...
internationalization Loading commit data...
land Loading commit data...
lint Loading commit data...
parser Loading commit data...
ref Loading commit data...
repository Loading commit data...
unit Loading commit data...
upload Loading commit data...
workflow Loading commit data...
workingcopyidentity Loading commit data...
__phutil_library_init__.php Loading commit data...
__phutil_library_map__.php Loading commit data...