]> khamidou — GitHub mirrors - arcanist.git/commit
accommodate git's diff.suppress-blank-empty=true setting
authorJim Meyering <meyering@fb.com>
Tue, 13 Nov 2012 01:34:00 +0000 (17:34 -0800)
committerJim Meyering <meyering@fb.com>
Tue, 13 Nov 2012 23:22:11 +0000 (15:22 -0800)
commit515399c0f6a2711d29a42c0782eaf8d5cf7cc212
treea259fefbb839c1cbbfc5a3152f73271854a3e2fe
parent15e4e6a003ea3bed1eac3d0e31463526e6001638
accommodate git's diff.suppress-blank-empty=true setting

Summary:
accommodate git's diff.suppress-blank-empty=true setting
Without this change, if you were to set diff.suppress-blank-empty=true
in your .gitconfig (as I do), then "arc diff" would always fail with the
cryptic diagnostic, "Diff Parse Exception: Found the wrong number of
hunk lines."

Test Plan:
Put this in ~/.gitconfig or .git/config
[diff]
         suppress-blank-empty = true
and run "arc lint".  It should pass.  Without this chnage,
it would fail as described above.

Reviewers: vrana, epriestley

Reviewed By: vrana

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3963
src/repository/api/ArcanistGitAPI.php