Re:New tricks for XFS: support for subvolumes
by xorcist on Friday March 02, 2018 @05:42AM
(#16500463)
Just out of curiosity, what is the use case for having multiple local clones? Is it to test run pruning or manipulate the reflog? Or is it for developing on git itself?
Re:New tricks for XFS: support for subvolumes
by Maakuth on Friday March 02, 2018 @06:27AM
(#16500645)
I typically have some development ongoing on one clone and use the other to do merging for releases and so on.
Re:New tricks for XFS: support for subvolumes
by xorcist on Friday March 02, 2018 @11:34AM
(#16502977)
Why? Isn't the whole idea of using git that changing branch is just as simple/fast as doing "cd"?
You're probably not doing your ongoing work in the branch you are merging for release anyway, if you did you'd have solve any conflicts all over again when you switch clone.
edit: Local in this case means cloning inside one filesystem. Hardlinks cannot span filesystem boundaries of course.