From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eric Hanchrow <offby1@blarg.net>
Cc: emacs-pretest-bug@gnu.org, 993@emacsbugs.donarmstrong.com
Subject: bug#993: 23.0.60; vc-find-root heuristic unreliable on Windows with Cygwin
Date: Wed, 17 Sep 2008 21:21:18 -0400 [thread overview]
Message-ID: <jwv4p4e9rre.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87y71qy1fr.fsf@offby1.atm01.sea.blarg.net> (Eric Hanchrow's message of "Wed, 17 Sep 2008 13:14:48 -0700")
> 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
next prev parent reply other threads:[~2008-09-18 1:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 20:14 bug#993: 23.0.60; vc-find-root heuristic unreliable on Windows with Cygwin Eric Hanchrow
2008-09-18 1:21 ` Stefan Monnier [this message]
2008-10-29 2:18 ` Glenn Morris
2008-10-29 3:02 ` Glenn Morris
2008-10-29 14:49 ` Stefan Monnier
2008-10-29 16:42 ` Glenn Morris
2008-10-29 18:58 ` Glenn Morris
2008-10-29 19:11 ` Glenn Morris
[not found] ` <18696.46415.755564.556955@fencepost.gnu.org>
2008-10-30 1:07 ` Stefan Monnier
2008-10-29 15:05 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv4p4e9rre.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=993@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=offby1@blarg.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.