GNU bug report logs - #13866
[VC] ‘vc-git-root’ is too lax

Previous Next

Package: emacs;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Mon, 4 Mar 2013 09:52:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-emacs <at> gnu.org
Subject: [VC] ‘vc-git-root’ is too lax
Date: Mon, 04 Mar 2013 10:50:50 +0100
[Message part 1 (text/plain, inline)]
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:

[Message part 2 (application/emacs-lisp, inline)]
[Message part 3 (text/plain, inline)]
Thanks,
Ludo’.

This bug report was last modified 12 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.