unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13866: [VC] ‘vc-git-root’ is too lax
@ 2013-03-04  9:50 Ludovic Courtès
  2013-03-04 10:56 ` Andreas Schwab
  2013-03-04 14:58 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2013-03-04  9:50 UTC (permalink / raw)
  To: 13866

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

Hello,

‘vc-git-root’ as found in Emacs 24.2.1 is too lax: when called from a
non-Git directory under $HOME, it ends up returning ~/ because users
normally have a ~/.git directory holding a config file.

A better definition would be something like this:


[-- Attachment #2: Type: application/emacs-lisp, Size: 144 bytes --]

[-- Attachment #3: Type: text/plain, Size: 21 bytes --]


Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-04 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04  9:50 bug#13866: [VC] ‘vc-git-root’ is too lax Ludovic Courtès
2013-03-04 10:56 ` Andreas Schwab
2013-03-04 13:16   ` Ludovic Courtès
2013-03-04 14:58 ` Stefan Monnier
2013-03-04 15:11   ` Christopher Schmidt
2013-03-04 16:00   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).