unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: Breakage by commit "779bc886f9 * Improve detection of Git submodules"
Date: Sat, 16 May 2020 09:15:16 +0200	[thread overview]
Message-ID: <873680uz97.fsf@gnu.org> (raw)
In-Reply-To: <ef90266e-f3f1-a1a8-acab-1ecd654264d9@yandex.ru> (Dmitry Gutov's message of "Sat, 16 May 2020 00:03:53 +0300")

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 15.05.2020 22:45, Tassilo Horn wrote:
>> I've edebugged, and the problem is that
>> (let ((default-directory "~/Repos/el/emacs/lisp/net"))
>>    (vc-root-dir)) ;=> nil
>> That's because `vc-deduce-backend' returns nil.  It only looks at
>> default-directory when in dired-mode, shell-mode, or compilation-mode...
>
> Oh, okay. Sorry about that.
>
> Does this patch fix the situation?

Yes, that works.  Thanks!

Bye,
Tassilo



      reply	other threads:[~2020-05-16  7:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15 19:03 Breakage by commit "779bc886f9 * Improve detection of Git submodules" Tassilo Horn
2020-05-15 19:11 ` Dmitry Gutov
2020-05-15 19:45   ` Tassilo Horn
2020-05-15 21:03     ` Dmitry Gutov
2020-05-16  7:15       ` Tassilo Horn [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873680uz97.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@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 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).