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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Subject: bug#13866: closed (Re: bug#13866: [VC] ‘vc-git-root’
 is too lax)
Date: Mon, 04 Mar 2013 13:18:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13866: [VC] ‘vc-git-root’ is too lax

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13866 <at> debbugs.gnu.org.

-- 
13866: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13866
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 13866-done <at> debbugs.gnu.org
Subject: Re: bug#13866: [VC] ‘vc-git-root’ is
	too lax
Date: Mon, 04 Mar 2013 14:16:55 +0100
Andreas Schwab <schwab <at> linux-m68k.org> skribis:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> ‘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.
>
> Do they?  Who created it?

I did, but now I realize that ~/.gitconfig is what matters nowadays (or
maybe ~/.git/config never mattered, even.)

Sorry for the noise.

Ludo’.

[Message part 3 (message/rfc822, inline)]
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 4 (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 5 (application/emacs-lisp, inline)]
[Message part 6 (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.