From: Junio C Hamano Date: Tue, 17 Dec 2019 18:16:24 GMT Subject: Re: [PATCH 2/2] Documentation/git-log: mention that line-log regex must match in starting revision Message-ID: In-Reply-To: <1d033204-80fd-25f8-3a80-0cb641953139@gmail.com> Derrick Stolee writes: > On 12/17/2019 12:07 AM, Philippe Blain via GitGitGadget wrote: >> From: Philippe Blain >> >> When giving a regex as parameter or in >> `git log -L ,:`, or a function name in >> `git log -L ::`, the given regex must match in the starting >> revision, or else the command exits with a fatal error. >> >> This is not obvious in the documentation, so add a note to that >> effect. > > This seems helpful. Thanks. Even when you specify or as a line number, they must exist in the starting revision or it would be a fatal error. If we are clarifying with this patch for completeness, I think we should also mention it together. Or we could even drop the mention of regex and say and , regardless of how they are specified (including : format), must exist in the starting revision.