From: Junio C Hamano Date: Tue, 14 Feb 2023 22:15:49 +0000 (-0800) Subject: Merge branch 'lk/line-range-parsing-fix' into maint-2.39 X-Git-Tag: v2.39.3~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=725f293355c30e202451933273a9695180dbaef2;p=thirdparty%2Fgit.git Merge branch 'lk/line-range-parsing-fix' into maint-2.39 When given a pattern that matches an empty string at the end of a line, the code to parse the "git diff" line-ranges fell into an infinite loop, which has been corrected. * lk/line-range-parsing-fix: line-range: fix infinite loop bug with '$' regex --- 725f293355c30e202451933273a9695180dbaef2