GNU bug report logs -
#993
23.0.60; vc-find-root heuristic unreliable on Windows with Cygwin
Previous Next
Reported by: Eric Hanchrow <offby1 <at> blarg.net>
Date: Wed, 17 Sep 2008 20:20:03 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Some investigation revealed that the file I visited was owned by
> "Administrator", whereas the ".git" directory was owned by "erich".
The owner of the .git directory is irrelevant, IIUC. What matter is the
owner of the directory in which is the .git subdirectory.
> this happens rather a lot when I use Cygwin). Anyway, the code in
> vc-find-root explicitly stops looking for a .git directory once it's
> determined that some parent of the file in question has a different
> owner. This heuristic probably works fine on every other platform, but
> perhaps it should be disabled on Windows, since the situation it's
> trying to prevent -- namely, "looking in things like /net and /afs" --
> is unlikely to occur on that platform anyway.
Actually, some of the problems that the owner-heuristic tries to address
are major slowdowns under w32 because of //<hostname>/ samba shares
(it's never been quite clear from where exactly does the slowdown come,
tho).
Stefan
This bug report was last modified 16 years and 266 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.