1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-04 10:58:25 +01:00
phorge-arcanist/src/repository/api
epriestley f9f2092246 Use git diff a b for ranges, not git diff a..b
Summary:
These are documented as being identical, but `git diff a b` works if `a` is a tree (for example, `4b825d...`, the empty tree hash), but `git diff a..b` does not.

Particularly, with the `a..b` form, `arc diff --base arc:empty` does not work. With the `a b` form, it does.

Test Plan: Ran `arc diff --base arc:empty` in a repository and got a diff.

Reviewers: btrahan, talshiri

Reviewed By: talshiri

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9898
2014-07-11 10:45:11 -07:00
..
__tests__ Remove @group annotations 2014-07-09 09:12:13 +10:00
ArcanistGitAPI.php Use git diff a b for ranges, not git diff a..b 2014-07-11 10:45:11 -07:00
ArcanistMercurialAPI.php Remove @group annotations 2014-07-09 09:12:13 +10:00
ArcanistRepositoryAPI.php Remove @group annotations 2014-07-09 09:12:13 +10:00
ArcanistSubversionAPI.php Remove @group annotations 2014-07-09 09:12:13 +10:00