]> khamidou — GitHub mirrors - arcanist.git/commit
Always use git.default-relative-commit, if present
authorNick Harper <nharper@fb.com>
Mon, 7 May 2012 00:03:32 +0000 (17:03 -0700)
committerNick Harper <nharper@fb.com>
Mon, 7 May 2012 16:54:47 +0000 (09:54 -0700)
commit6fcd2db646805b9eb59957ed23021207a29c4e98
tree258826be3722ba60d03f3850a151a03690d82467
parent0253bb9475cca9c7557e797e26eaf5e1c688a436
Always use git.default-relative-commit, if present

Summary:
Always use the value in git.default-relative-commit when getting the relative
commit in git.

Test Plan:
Ran arc diff in a repo with git.default-relative-commit set to HEAD^ on a
branch tracking a remote (that is different from HEAD^), and checked that
the diff against HEAD^, not the remote, was published.

Reviewers: jungejason, epriestley, vrana

Reviewed By: epriestley

CC: aran, Koolvin
Differential Revision: https://secure.phabricator.com/D2409
src/repository/api/git/ArcanistGitAPI.php