-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Make alternates work on UNC paths #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Note: we probably want some special treatment for UNC alternates because just looking up loose objects (which aren't there if there are only packs) would kill us, round-trip-wise. Come to think of it: maybe there is a general improvement lurking here: we can easily determine whether there are any loose objects at that alternate at all, and set a flag skipping loose object lookup later on if there aren't any. |
So many distractions today. I'll continue work on this on Monday. |
Turned into a Pull Request. |
Just like we support having alternates pointing to different drives, we want to support alternates pointing to network shares, i.e. UNC paths. Technically, what we do in this patch is not to support UNC alternates, but to support UNC paths when normalizing paths. But the latter implies the former, and the former really was the motivation for this patch. Signed-off-by: Johannes Schindelin <[email protected]>
Make alternates work on UNC paths
Make alternates work on UNC paths
Make alternates work on UNC paths
Make alternates work on UNC paths
Make alternates work on UNC paths
Make alternates work on UNC paths
Make alternates work on UNC paths
Make alternates work on UNC paths
Make alternates work on UNC paths
It has been reported that
git.exe
won't be able to access alternates when they are specified as UNC paths. Let's make that work.