user541686
user541686

Reputation: 210755

How do I see all commits that modified file CONTENTS (not metadata)?

git log --follow shows me all commits for FILE, but what if I only want to see commits that changed the file contents rather than metadata (permissions etc.)? Is there a way to do that?

Upvotes: 1

Views: 45

Answers (1)

torek
torek

Reputation: 489758

Not really, no. You can save the found commit hashes (or the entire git log output) somewhere and filter them further, but that's not built into Git.

Upvotes: 1

Related Questions