Hi Philippe, On 22/05/21 08.58, Philippe Blain wrote:
Hi Aidan, I believe this is working as advertised: only the first line of the commit message is shown. However as mentioned in the doc, the -L option also triggers patch output (-p), which you can omit if you explicitely add --no-patch (or shorter, -s). Cheers, Philippe.
So the complete command for --oneline with -L in order to produce similar output as other cases is `git log -L:<function>:<file> --oneline --no-patch`. I wonder if we can make --oneline implies --no-patch when -L is given, right? -- An old man doll... just what I always wanted! - Clara