]> khamidou — GitHub mirrors - arcanist.git/commit
Don't use "-c" flag in "git:branch-unique()" revision range rule
authorepriestley <git@epriestley.com>
Thu, 10 Dec 2015 22:10:02 +0000 (14:10 -0800)
committerepriestley <git@epriestley.com>
Thu, 10 Dec 2015 22:19:39 +0000 (14:19 -0800)
commitd0e73bb656105e82582cf72c415a8c310b30915d
treeb1e85a67eef98375351361bf0e23bc6b559c54eb
parent0c8124a2729d70874fcacbccffdbf5b9bfc6997d
Don't use "-c" flag in "git:branch-unique()" revision range rule

Summary:
Fixes T9953.

  - "-c" was introduced in 1.7.2.
  - "--no-color" has existed forever as far as I can tell.
  - "--no-column" was introducd in 1.7.11, but there was nothing that needed to be disabled before that (hopefully).

Test Plan:
  - Ran `arc which --trace` and observed a reasonable `git branch` command with correct output.
  - Ran `arc which --trace` with a faked older Git version, observed command omit `--no-column`.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9953

Differential Revision: https://secure.phabricator.com/D14735
src/repository/api/ArcanistGitAPI.php