7 ms·
Can it handle files being renamed? Or will the file's history become unlinked?
by rrrrrrrrrrrryan 5y ago
Can it handle files being renamed?
Or will the file's history become unlinked?
- kelvie 5y agoLooks like it does an remove and add in the same commit: https://github.com/presslabs/gitfs/blob/cf92acc1fdb0bf93d5998f223d9ef7b285bd74b1/gitfs/views/current.py#L256 https://github.com/presslabs/gitfs/blob/cf92acc1fdb0bf93d599... called by: https://github.com/presslabs/gitfs/blob/cf92acc1fdb0bf93d5998f223d9ef7b285bd74b1/gitfs/views/current.py#L40 https://github.com/presslabs/gitfs/blob/cf92acc1fdb0bf93d599... So it'll be tracked as a rename (renames in git are tracked heuristically anyway, as long as they're part of the same commit).