Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo/checkout: Verify early if src/destination are on same device
At least in all Linux kernels up to today, one can never `link()` across devices, so we might as well verify that up front. This will help for a future patch to add a new type of union-add checkout, since Linux checks for `EEXIST` before `EXDEV`.
- Loading branch information