We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2cbba4 commit 87d197eCopy full SHA for 87d197e
include/lib_revcheck.inc.php
@@ -249,8 +249,7 @@ function showdiff ()
249
chdir( GIT_DIR . 'en' );
250
$arg_h = escapeshellarg($h);
251
$arg_f = escapeshellarg($gitfile);
252
- echo "git -c {$safedir} diff -b --word-diff=porcelain {$arg_h} -- {$arg_f}";
253
- $file = `git -c {$safedir} diff -b --word-diff=porcelain {$arg_h} -- {$arg_f}`;
+ $file = `git -c {$safedir} diff --ignore-space-at-eol {$arg_h} -- {$arg_f}`;
254
if ($file == null)
255
$file = `git -c {$safedir} diff {$arg_h} -- {$arg_f}`;
256
$hash = `git -c {$safedir} log -n 1 --pretty=format:%H -- {$arg_f}`;
0 commit comments