This website requires JavaScript.
Explore
Help
Sign in
revi-archive
/
phorge-arcanist
Watch
1
Star
0
Fork
You've already forked phorge-arcanist
0
mirror of
https://we.phorge.it/source/arcanist.git
synced
2024-11-24 07:42:39 +01:00
Code
Issues
Releases
Wiki
Activity
f6261dc614
phorge-arcanist
/
scripts
/
repository
/
binary_safe_diff.sh
4 lines
31 B
Bash
Raw
Normal View
History
Unescape
Escape
Use binary safe diff in arc diff Summary: Otherwise svn diff fails when the file is binary but the "svn:mime-type = application/x-shellscript" is missing in it. Test Plan: arc diff succeeded against deleting a binary file which doesn't have svn:mime-type = application/x-shellscript. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D2915
2012-07-03 22:25:49 +02:00
#!/bin/sh
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
2015-12-13 11:35:07 +01:00
diff
"
$@
"
||
exit
1
Copy permalink