BUG: git log --follow always follows copies as well as renames
- From
- Grochowalski, Matthew (GE Aerospace, US) <matthews.grochowalski@ge.com>
- Date
- Dec 1, 2022, 20:41 UTC
- Message-ID
- <604700f9e2e74d0db047a47c0b58ce8a@ge.com>
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