Groups
Groups
Sign in
Groups
Groups
php-doc-web
Conversations
About
Send feedback
Help
[DOC-WEB] [web-doc] master: Thank You. Closes GH-42
1 view
Skip to first unread message
André L F S Bacci via Nilgün Belma Bugüner
unread,
Sep 9, 2023, 6:43:38 PM
9/9/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to doc...@lists.php.net
Author: André L F S Bacci
Committer: Nilgün Belma Bugüner (nilgun)
Date: 2023-09-10T01:43:30+03:00
Commit:
https://github.com/php/web-doc/commit/364f913efb1a82dddce17ef35b30ca37651d0295
Raw diff:
https://github.com/php/web-doc/commit/364f913efb1a82dddce17ef35b30ca37651d0295.diff
Thank You. Closes GH-42
Changed paths:
M include/lib_revcheck.inc.php
Diff:
diff --git a/include/lib_revcheck.inc.php b/include/lib_revcheck.inc.php
index 745df8f..ad3f0db 100644
--- a/include/lib_revcheck.inc.php
+++ b/include/lib_revcheck.inc.php
@@ -252,7 +252,9 @@ function showdiff ()
chdir( GIT_DIR . 'en' );
$arg_h = escapeshellarg($h);
$arg_f = escapeshellarg($gitfile);
- $file = `git diff {$arg_h} -- {$arg_f}`;
+ $file = `git diff --ignore-space-at-eol {$arg_h} -- {$arg_f}`;
+ if ($file == null)
+ $file = `git diff {$arg_h} -- {$arg_f}`;
$hash = `git log -n 1 --pretty=format:%H -- {$arg_f}`;
chdir( $cwd );
if (!$file) return;
--
Documentation Website Mailing List (
http://doc.php.net/
)
To unsubscribe, visit:
http://www.php.net/unsub.php
Reply all
Reply to author
Forward
0 new messages