threads / bug / 58885

BUG: git log --follow always follows copies as well as renames

Subject: BUG: git log --follow always follows copies as well as renames

## tl;dr

One message between Dec 1, 2022 and Dec 1, 2022.

replies: 0people: 1as markdown or json

Grochowalski, Matthew (GE Aerospace, US)· Dec 1, 2022, 20:41 UTC · lore
Encountered on git 2.38.1.143.g1fc3c0ad40
Run git log --follow -M100% --no-find-copies --name-status path/to/renamed/file
The log follows copies despite being explicitly told not to.
This apparently goes back to at least 2017; see https://stackoverflow.com/questions/44083806/how-to-prevent-git-log-follow-from-following-copies-but-only-follow-renames
--Matt Grochowalski

← back to recent threads