Merge branch 'da/mergetools-special-case-xxdiff-exit-128'
The xxdiff difftool backend can exit with status 128, which the difftool-helper that launches the backend takes as a significant failure, when it is not significant at all. Work it around. * da/mergetools-special-case-xxdiff-exit-128: mergetools/xxdiff: prevent segfaults from stopping difftool
This commit is contained in:
commit
6a1bb089fd
@ -3,6 +3,13 @@ diff_cmd () {
|
||||
-R 'Accel.Search: "Ctrl+F"' \
|
||||
-R 'Accel.SearchForward: "Ctrl+G"' \
|
||||
"$LOCAL" "$REMOTE"
|
||||
|
||||
# xxdiff can segfault on binary files which are often uninteresting.
|
||||
# Do not allow segfaults to stop us from continuing on to the next file.
|
||||
if test $? = 128
|
||||
then
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
merge_cmd () {
|
||||
|
Loading…
Reference in New Issue
Block a user