]> git.99rst.org Git - git.git/commit
line-log: simplify condition checking for merge commits
authorSZEDER Gábor <redacted>
Sun, 24 Aug 2025 19:06:44 +0000 (21:06 +0200)
committerJunio C Hamano <redacted>
Mon, 25 Aug 2025 15:30:27 +0000 (08:30 -0700)
commit0a15bb634cf005a0266ee1108ac31aa75649a61c
tree28c6f1003f8d36b90d490a0ee58fb3c8cca91175
parent62e4ef85fbc5574fd80caababbf41bd33f53a46d
line-log: simplify condition checking for merge commits

In process_ranges_arbitrary_commit() the condition deciding whether
the given commit is not a merge, i.e. that it doesn't have more than
one parent, is head-scratchingly backwards, flip it.

Signed-off-by: SZEDER Gábor <redacted>
Signed-off-by: Junio C Hamano <redacted>
line-log.c
git clone https://git.99rst.org/PROJECT