Junio C Hamano [off-list ref] writes:
I think one issue is what happens when you did this:
cd //server
git --git-dir=//server/repo/repo.git --work-tree=repo
Does msysgit implementation figures out that the work tree is located at
"//server/repo" when get_git_work_tree() is asked to produce an absolute
path so that it can be compared with //server/repo/repo.git with the code?
If it does (with the leading double slash), then "doubled slahses fix" is
a regression we should do something about it. If it doesn't, then it
probably doesn't matter.
Nah, I wasn't thinking straight. What happens if you did this?
git --git-dir=//git/repo/repo.git --work-tree=/git/repo
where "//git/repo" is on the "git server" and you are working in local
hierarchy "/git/repo"?