How to avoid showing parent commits in gitk when filtering by author?
Asked Answered
H

0

5

I want to show only my commits in gitk. I try to use the command

gitk --author="Eugeniy Maksimov" <path>

gitk shows not only my commits, but also theirs parents. Why? How to avoid this?

Huppert answered 11/3, 2018 at 12:3 Comment(1)
The short answer to "why" is because gitk adds --boundary to the arguments it passes to git log / git rev-list. But why it does that, and how you might modify gitk to avoid that without breaking it (if a simple "remove --parents" breaks it in the first place, which I don't know is true), I don't know.Sisile

© 2022 - 2024 — McMap. All rights reserved.