]> khamidou — GitHub mirrors - arcanist.git/commit
Simplify diff exit code handling.
authorDimitry Andric <dimitry@andric.com>
Sun, 13 Dec 2015 10:35:07 +0000 (02:35 -0800)
committerepriestley <git@epriestley.com>
Sun, 13 Dec 2015 10:35:07 +0000 (02:35 -0800)
commit7d25fcdbdb51f28a1e6465edd819aa5d99bc0f71
tree795576bf7b2e95d47d02d848c3bc3939a065d967
parent97056a3b85bbee72d6ede1b9478b03dee1db2d4e
Simplify diff exit code handling.

Summary:
This fixes T9970 in an alternate manner, with the same effect: the
binary_safe_diff.sh script returns 0 if the diff succeeds, 1 in all
other cases.

Test Plan:
Tested locally with a fixed binary_safe_diff.sh, resulting in this
correct review:

https://reviews.freebsd.org/D4542

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: eadler, Korvin, stevenh

Maniphest Tasks: T9970

Differential Revision: https://secure.phabricator.com/D14759
scripts/repository/binary_safe_diff.sh