[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: Automatic setup for bug-reference-mode
From: |
Tassilo Horn |
Subject: |
Re: RFC: Automatic setup for bug-reference-mode |
Date: |
Thu, 18 Jun 2020 08:06:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi chaps,
>> Typing 'C-x v d' (vc-dir) on a repository without 'origin'
>> raises the error "Failed (status 128): git --no-pager remote get-url ."
>
> Also noticed that (when the current branch has no default remote).
> Just fixed in master.
Ah, sorry, haven't seen your fix. But I think it may still have been
wrong. I think the actual problem was that
git config branch.<branch>.remote
wasn't necessarily called in the given project DIR so returned the
global default remote "origin". So I now bind default-directory to the
given DIR.
I'm not exactly sure if that is really needed but at least it was needed
for M-: (vc-git-dir-extra-headers "~/some/project/") which I used to
reproduce the problem (which still occurred). Maybe it's not needed
when vc-dir calls it, but let's say it is a good change anyway since it
makes the function debuggable standalone.
Thanks,
Tassilo
- Re: RFC: Automatic setup for bug-reference-mode, (continued)
- Re: RFC: Automatic setup for bug-reference-mode, Dmitry Gutov, 2020/06/14
- Re: RFC: Automatic setup for bug-reference-mode, Tassilo Horn, 2020/06/14
- Re: RFC: Automatic setup for bug-reference-mode, Dmitry Gutov, 2020/06/14
- Re: RFC: Automatic setup for bug-reference-mode, Basil L. Contovounesios, 2020/06/14
- VC repository-url command (was: RFC: Automatic setup for bug-reference-mode), Tassilo Horn, 2020/06/15
- Re: VC repository-url command, Basil L. Contovounesios, 2020/06/15
- Re: RFC: Automatic setup for bug-reference-mode, Stephen Leake, 2020/06/15
- Re: RFC: Automatic setup for bug-reference-mode, Tassilo Horn, 2020/06/15
- Re: RFC: Automatic setup for bug-reference-mode, Juri Linkov, 2020/06/17
- Re: RFC: Automatic setup for bug-reference-mode, Dmitry Gutov, 2020/06/17
- Re: RFC: Automatic setup for bug-reference-mode,
Tassilo Horn <=
- Re: RFC: Automatic setup for bug-reference-mode, Dmitry Gutov, 2020/06/18
- Re: RFC: Automatic setup for bug-reference-mode, Tassilo Horn, 2020/06/18
- Re: RFC: Automatic setup for bug-reference-mode, Dmitry Gutov, 2020/06/18
- Re: RFC: Automatic setup for bug-reference-mode, Tassilo Horn, 2020/06/15