2 ms·
Yeah it sounds nice in theory but the number of edge cases and complications it adds are crazy. * You need to add `git cp`. * You'll mess things up if you acc
by IshKebab 3y ago
Yeah it sounds nice in theory but the number of edge cases and complications it adds are crazy.
* You need to add `git cp`.
* You'll mess things up if you accidentally `mv` instead of `git mv`.
* All IDEs have to add support for this.
* Have fun resolving metadata merge conflicts!
That's just the things I thought if in a few seconds.
IMO the sensible way to improve this is to have a place for Git to add hints, so that it's automatic rename detection algorithms work better.
- forrestthewoods 3y agoI think you’re overcomplicating it. Files just need to know where they moved from, if anywhere. Copy, modify, delete operations can be auto-detected almost all of the time. Lineage can be edited after the fact if needed.