commit 3ef807eedd4fec23cf457ea7cd55bc01407d57b9 from: Stefan Sperling date: Wed Jun 08 11:01:11 2022 UTC reword description of how got log -p and -P interact with got log -S commit - a558dd1be5714d8e7a83f7d63180550e86ccae5c commit + 3ef807eedd4fec23cf457ea7cd55bc01407d57b9 blob - 3499bb5c000dbc73329c7142a6422f0d4c25ce6e blob + 7825117a1854a2737ac5b841f83716ac3749d20a --- got/got.1 +++ got/got.1 @@ -832,12 +832,12 @@ option. If specified, show only commits with a log message matched by the extended regular expression .Ar search-pattern . -When used together with -.Fl p , -then the lines in committed patches can be matched. -When used together with -.Fl P , -then the file paths changed by a commit can be matched as well. +Lines in committed patches will be matched if +.Fl p +is specified. +File paths changed by a commit will be matched if +.Fl P +is specified. Regular expression syntax is documented in .Xr re_format 7 . .It Fl r Ar repository-path