From: Junio C Hamano Date: Mon, 2 Jan 2023 12:37:18 +0000 (+0900) Subject: Merge branch 'lk/line-range-parsing-fix' X-Git-Tag: v2.40.0-rc0~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f2e4c09c769dc2fbbabfcfa625451f9d98bd49a;p=thirdparty%2Fgit.git Merge branch 'lk/line-range-parsing-fix' 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 --- 3f2e4c09c769dc2fbbabfcfa625451f9d98bd49a