all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 13866@debbugs.gnu.org
Subject: bug#13866: [VC] ‘vc-git-root’ is too lax
Date: Mon, 04 Mar 2013 10:50:50 +0100	[thread overview]
Message-ID: <87zjyjijd1.fsf@gnu.org> (raw)

[-- 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’.

             reply	other threads:[~2013-03-04  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04  9:50 Ludovic Courtès [this message]
2013-03-04 10:56 ` bug#13866: [VC] ‘vc-git-root’ is too lax 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

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=87zjyjijd1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=13866@debbugs.gnu.org \
    /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.