Hello Peff, Thanks for the response. -- Best regards, Aleksander Korzyński On Wed, 18 Dec 2024 at 13:08, Jeff King <peff@xxxxxxxx> wrote: > > On Mon, Dec 16, 2024 at 04:09:07PM +0100, Aleksander Korzyński wrote: > > > # Now, let's try --simplify-by-decoration on another commit > > $ git log -1 --simplify-by-decoration --oneline 1e3ef455cc > > 025a87d9db Merge branch 'master' into master > > # The above output seems incorrect, because the commit isn't decorated > > Yes, but it's a merge commit. From "git help log": > > Note that extra commits can be shown to give a meaningful history. > > Try: > > git log --simplify-by-decoration --oneline --graph 1e3ef455cc > > and you'll see that there are commits along both parent branches, and > thus we show the merge. > > There are some other options listed after that for changing which > commits are shown ("The following options affect the way the > simplification is performed"). But I don't think there is one that will > show only the decorated commits (however, I could be wrong; I've only > ever used these options to show _more_ commits, not fewer). > > -Peff