Junio C Hamano [off-list ref] writes:
...So I am thinking about applying something like this patch
on top of the last part of your patch.
- Do validation only on canonicalized paths;
- Run upload-pack with "." as repo, not full path;
- allow trailing slash under --strict-paths i.e. "git://host/my/repo.git/"
Sorry, the last piece was totally unneeded; we are operating on
return value from getcwd at this point.