Sublime Forum

Can I see file history include merge commit?

#1

Hello guys. I have a question.

Can I see file history include merge commit?
Like git log -c SOME_FILE command.

Can’t find any options for this.

0 Likes

#2

Hi @noritersand,

Thanks for reaching out!

By default, Sublime Merge doesn’t include merge commits in the file history.
To include merge commits in the file history query, you can include min-parents: 0 in the search query

For example:
file:"path/to/file.py" min-parents:0

Let me know if this helps!

Kind regards,
- Dylan

0 Likes

#3

Solved!
Much appreciated.

1 Like

#4

Wow --min-parents=0 means ‘disable min-parents limit and show all commits’!
I learned new one. Thank you! :grin:

0 Likes