Skip to content

Commit 87d197e

Browse files
committed
Revert unintended commit
1 parent d2cbba4 commit 87d197e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/lib_revcheck.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,7 @@ function showdiff ()
249249
chdir( GIT_DIR . 'en' );
250250
$arg_h = escapeshellarg($h);
251251
$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}`;
252+
$file = `git -c {$safedir} diff --ignore-space-at-eol {$arg_h} -- {$arg_f}`;
254253
if ($file == null)
255254
$file = `git -c {$safedir} diff {$arg_h} -- {$arg_f}`;
256255
$hash = `git -c {$safedir} log -n 1 --pretty=format:%H -- {$arg_f}`;

0 commit comments

Comments
 (0)