Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
robbya
· 6y ago · 0 comments
For changes that are a pure file rename 'git mv' tracks those pretty cleanly. Anything beyond that... I don't know of any good tooling either.
Comments
[–]
progval
6y ago
Mercurial goes a bit further by tracking copies, so if you split a file in two, a diff viewer will show there is no added code (but a lot of deletions).
https://stackoverflow.com/a/4156146/539465
[–]
saagarjha
6y ago
git mv doesn't actually do anything special to track moves, so it can't figure out anything that's non-trivial.