GNU bug report logs - #68183
28.3; vc-dir fails when I have a certain branch checked out

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Tom Tromey <tom@HIDDEN>; dated Sun, 31 Dec 2023 19:00:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 68183 <at> debbugs.gnu.org:


Received: (at 68183) by debbugs.gnu.org; 3 Jan 2024 09:46:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 03 04:46:53 2024
Received: from localhost ([127.0.0.1]:51887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rKxpt-0003rr-1X
	for submit <at> debbugs.gnu.org; Wed, 03 Jan 2024 04:46:53 -0500
Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:61518)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kevin.legouguec@HIDDEN>) id 1rKxpq-0003rb-PG
 for 68183 <at> debbugs.gnu.org; Wed, 03 Jan 2024 04:46:51 -0500
Received: by mail-wm1-x329.google.com with SMTP id
 5b1f17b1804b1-40d8902da73so17291435e9.2
 for <68183 <at> debbugs.gnu.org>; Wed, 03 Jan 2024 01:46:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704275201; x=1704880001; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=DdA7eC7P5dXfAFjxqDT36UTWemLzMtujT5LkY7PdCbM=;
 b=BfphXhqvrye19Xo75Q6gw/6x6GbI9peq4Ry2t8xIypO2qI3Db/V3o/vUvrwbjwo1uX
 56mfWyWz/oXWoQHLlHUB1fF2Sbw4U6HqW/6xfJsgj2C7HwsEfkcZQS+rdh/hYBPex6Kf
 dCOvPQZZrGuIx6cmXhybV+sLQZ4pTN5CbgB4b2KE7sEPz2QW68G/ya3zQDGA8moVGb0E
 ok8NYFwpkTo277yVPL1niLYIUYyGVH8Qu7erFoCzg4MBrrW4WQHztIvYorzVC3e+REdM
 7sODu9nGDac2mcWbJcqFDpkQkjGM9qK71f6nHnN7oL5e5RHxN3ntsc3mKUvcm18cYcPT
 by0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704275201; x=1704880001;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=DdA7eC7P5dXfAFjxqDT36UTWemLzMtujT5LkY7PdCbM=;
 b=h6QSYhhIDkz6THWjHalms/C0BlIkqslBPaKbWD+m1nrGxmnYKw+hE9qd/cybHlGloS
 leFBDo4vyOmxkHrq2YXsd0xuamvTK0CAAGPqafQJ4kKc20RpjePOIoKr0c2WMBrTShXq
 DUq0eo6TmcOJQTlHQcm4Bd2ofmCIMhYs2TCC6pIWEZzBLPdMvjw1+HFdxePeQVBTzdqC
 mJNDOCj5wH5eXUCHlprQ2j3SmThIT+5e/Ecet3NqkeA42KTAW/ijvTQP5fEfAu6edfIt
 IZFS/QTXUjM4KwYkpo+KO/+USbglCRECjQY0EK/uNV/RbX+SAbsawkfxcu1j/jPSE6sJ
 wk7A==
X-Gm-Message-State: AOJu0YzoptUio5Q9MNjdPZBu+qQW93jeEYKtcemHsE4L6kd0XlcK74gG
 xm9nvsiJ0arVj/JB60HtzIjgdfQW9aA=
X-Google-Smtp-Source: AGHT+IFxWB71d/iUvMDUtDT+5QqbVEPLhYotivX3IIBlGtfxWnh+9EwlSvPTzUgNQFbZekzIGjQMMg==
X-Received: by 2002:a05:600c:2313:b0:40d:81c3:2e2b with SMTP id
 19-20020a05600c231300b0040d81c32e2bmr3862230wmo.60.1704275201206; 
 Wed, 03 Jan 2024 01:46:41 -0800 (PST)
Received: from hirondell ([2001:861:38ca:5f70:7347:9ec1:df7c:18ef])
 by smtp.gmail.com with ESMTPSA id
 g15-20020a5d488f000000b00336e43e8e57sm18986333wrq.58.2024.01.03.01.46.40
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 03 Jan 2024 01:46:40 -0800 (PST)
From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= <kevin.legouguec@HIDDEN>
To: Tom Tromey <tom@HIDDEN>
Subject: Re: bug#68183: 28.3; vc-dir fails when I have a certain branch
 checked out
In-Reply-To: <87y1dab03x.fsf@HIDDEN> (Tom Tromey's message of "Sun, 31 Dec
 2023 13:14:42 -0700")
References: <8734vici68.fsf@HIDDEN> <83y1da17zw.fsf@HIDDEN>
 <87y1dab03x.fsf@HIDDEN>
Date: Wed, 03 Jan 2024 10:46:39 +0100
Message-ID: <87h6jun400.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 68183
Cc: Eli Zaretskii <eliz@HIDDEN>, 68183 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tom Tromey <tom@HIDDEN> writes:

> Eli> Thanks, but I think we'd appreciate a reproducible recipe for this:
> Eli> how can one create a Git repository which can be used to reproduce
> Eli> this issue?
>
> This worked for me:
>
> $ cd ~/Emacs/trunk
> # This is my Emacs git repository
> $ git checkout --track -b vc-dir-bug master
> branch 'vc-dir-bug' set up to track 'master'.
> Switched to a new branch 'vc-dir-bug'
>
>
> Now invoke vc-dir on that directory.

I can reproduce; IIUC the salient point is setting start-point to a
local revision when calling git checkout, by opposition to
e.g. origin/master.  Continuing off of your recipe:

$ git branch --set-upstream-to origin/master

Then M-x vc-dir works again.

IIUC, to display

  Remote     : https://git.savannah.gnu.org/git/emacs.git

vc-git-dir-extra-headers runs

1. git config branch.vc-dir-bug.remote =E2=87=92 "."
2. (vc-git-repository-url "[=E2=80=A6 EMACS DIR =E2=80=A6]" ".")
    1. git config remote...url =E2=87=92 error

git-config(1) says that branch.<name>.remote is "." when <name> is
tracking a local branch, whereas branch.<name>.merge points to the local
branch 'git pull' will resync with.  Wonder what TRT would be for the
purposes of vc-dir?

(1) Drop the "Remote" header: the current branch is not sync'd with a
remote branch, after all.

(2) Print "Remote: https://git.savannah.gnu.org/git/emacs.git" by making
vc-git-repository-url fall back to remote.origin.url when remote-name is
".".

(3) Print "Remote: master" by making vc-git-dir-extra-headers fall back
to branch.<name>.merge when .remote is ".".

(4) Make vc-git-dir-extra-headers fall back to
branch.<branch.<name>.merge>.remote.  In our example, that would yield
"Remote: https://git.savannah.gnu.org/git/emacs.git", but in general
that seems unreliable, since that remote could be "." as well, and
nothing prevents cycles AFAIU.

IMO (3) would be the most robust, though maybe confusing (calling a
local branch "remote"); (2) makes sense as well since
vc-git-repository-url already falls back to remote.origin.url when
remote-name is nil.

(1) sounds trivially "robust" and "not too incorrect", but maybe not the
most helpful.  (4) is under-specified and I'm not convinced it is
possible to make it generally useful.


Hope I've not mis-diagnosed the problem; apologies for the noise if so.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68183; Package emacs. Full text available.

Message received at 68183 <at> debbugs.gnu.org:


Received: (at 68183) by debbugs.gnu.org; 31 Dec 2023 20:14:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 31 15:14:55 2023
Received: from localhost ([127.0.0.1]:47089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rK2D0-0005TO-RL
	for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 15:14:55 -0500
Received: from omta36.uswest2.a.cloudfilter.net ([35.89.44.35]:34414)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tom@HIDDEN>) id 1rK2Cy-0005T8-NK
 for 68183 <at> debbugs.gnu.org; Sun, 31 Dec 2023 15:14:53 -0500
Received: from eig-obgw-5003a.ext.cloudfilter.net ([10.0.29.159])
 by cmsmtp with ESMTPS
 id JpnnriTkrhqFdK2CrrBHtw; Sun, 31 Dec 2023 20:14:45 +0000
Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS
 id K2CprCgzknCfvK2CqrBmfj; Sun, 31 Dec 2023 20:14:44 +0000
X-Authority-Analysis: v=2.4 cv=KKpJsXJo c=1 sm=1 tr=0 ts=6591cbb4
 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17
 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19
 a=pWoeRkTAhn0gI_Sx:21 a=e2cXIFwxEfEA:10 a=Qbun_eYptAEA:10
 a=jHcvXeUT7P7crG22YsgA:9
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References
 :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=u+v9Nlfe79cYoZr9A5xkCBnQvHy4reUfzQbwpcrI/0g=; b=bpOS+E93ZzayzVWuN5pzLYjYrW
 s2xeVssJqGjBZJl71Iqbii/OD9/Lw+qJoxuhEXFEIOR28I976gnTOdpcAsFvnnIqHC8uWjZbztk7X
 L2JsUyBRJSyTdCNpqhkaXE5GC;
Received: from 71-211-161-25.hlrn.qwest.net ([71.211.161.25]:45196
 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2)
 (envelope-from <tom@HIDDEN>) id 1rK2Cp-002ICD-1e;
 Sun, 31 Dec 2023 13:14:43 -0700
From: Tom Tromey <tom@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#68183: 28.3; vc-dir fails when I have a certain branch
 checked out
References: <8734vici68.fsf@HIDDEN> <83y1da17zw.fsf@HIDDEN>
X-Attribution: Tom
Date: Sun, 31 Dec 2023 13:14:42 -0700
In-Reply-To: <83y1da17zw.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 31 Dec
 2023 21:34:27 +0200")
Message-ID: <87y1dab03x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - box5379.bluehost.com
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - tromey.com
X-BWhitelist: no
X-Source-IP: 71.211.161.25
X-Source-L: No
X-Exim-ID: 1rK2Cp-002ICD-1e
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: 71-211-161-25.hlrn.qwest.net (prentzel) [71.211.161.25]:45196
X-Source-Auth: tom+tromey.com
X-Email-Count: 2
X-Org: HG=bhshared;ORG=bluehost;
X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20=
X-Local-Domain: yes
X-CMAE-Envelope: MS4xfG29zcPfFkqoVO/Q+jXm289ognvmpO4dZt6llKUxvcIHLKrCBWdfGhLwJtdu8ipR5bkib0fIr25tfkmlEv2m6Rt0vGEnMeU2Io2PagNYdNPar4RAZWYI
 gO3srRK26uHw9FYrtPdBU1inV6a7Hjaf9LK2u2B5M92/+7v7/ox9dWco/KCH69gmJXFXu72YvnkXc3wWRba7eKG1sQWLckSTnl4=
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 68183
Cc: Tom Tromey <tom@HIDDEN>, 68183 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli> Thanks, but I think we'd appreciate a reproducible recipe for this:
Eli> how can one create a Git repository which can be used to reproduce
Eli> this issue?

This worked for me:

$ cd ~/Emacs/trunk
# This is my Emacs git repository
$ git checkout --track -b vc-dir-bug master
branch 'vc-dir-bug' set up to track 'master'.
Switched to a new branch 'vc-dir-bug'


Now invoke vc-dir on that directory.

Tom




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68183; Package emacs. Full text available.

Message received at 68183 <at> debbugs.gnu.org:


Received: (at 68183) by debbugs.gnu.org; 31 Dec 2023 19:34:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 31 14:34:40 2023
Received: from localhost ([127.0.0.1]:47049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rK1a4-0007bL-7j
	for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 14:34:40 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:35874)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rK1a3-0007b9-1d
 for 68183 <at> debbugs.gnu.org; Sun, 31 Dec 2023 14:34:39 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rK1Zv-0002bP-V2; Sun, 31 Dec 2023 14:34:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=QjRvMsGtqSRkSv5v4IDxuB/CLUFjB627o3ab6ApcDk4=; b=eSfgmooDBWM1
 gUjkr2X0YEs3BxCL0CZlGXaRbCkXPCL+EnrydlaDf5qonva7K7ZllfQS5IJXGiOg296w0yXNa0sFW
 wcwa5vbKuMZ6bCYiufZyRX1FUaERXdc6zoVb6m+r1r9S3vesjkQzIToioIL5c6z/Aa7DB35Ty0HFo
 NAANfeRosWnL8CdjKvU0UxUvw5QjaFyzjC7V/J1HxAJ1r6imMex/qPkpBiiKNJbyIgCidh+yimp2+
 k5VSLfrxgp78a38Kcs3/z+VjUZjftvXjtIKA3a1BnQj8BB4pEdNAflM74HHlru9Vjc6o6cwknlcac
 q7JVnrqhlUG5bIBz1C21SA==;
Date: Sun, 31 Dec 2023 21:34:27 +0200
Message-Id: <83y1da17zw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Tom Tromey <tom@HIDDEN>
In-Reply-To: <8734vici68.fsf@HIDDEN> (message from Tom Tromey on Sun, 31
 Dec 2023 11:59:11 -0700)
Subject: Re: bug#68183: 28.3;
 vc-dir fails when I have a certain branch checked out
References: <8734vici68.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 68183
Cc: 68183 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Tom Tromey <tom@HIDDEN>
> Date: Sun, 31 Dec 2023 11:59:11 -0700
> 
> 
> I use vc-dir frequently.
> 
> When I check out one particular branch of my gdb repository, vc-dir
> fails with this error:
> 
> vc-do-command: Failed (status 2): git --no-pager remote get-url . .
> 
> The only thing that might be peculiar about this branch is that it uses
> another local branch as its tracking branch.
> 
> If I check out other branches in this repository -- ones that track
> remote branches -- vc-dir works again.

Thanks, but I think we'd appreciate a reproducible recipe for this:
how can one create a Git repository which can be used to reproduce
this issue?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68183; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Dec 2023 18:59:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 31 13:59:41 2023
Received: from localhost ([127.0.0.1]:47023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rK12D-0007PG-6W
	for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 13:59:41 -0500
Received: from lists.gnu.org ([2001:470:142::17]:45362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tom@HIDDEN>) id 1rK12A-0007P2-AN
 for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 13:59:40 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tom@HIDDEN>) id 1rK123-0006Rz-Lw
 for bug-gnu-emacs@HIDDEN; Sun, 31 Dec 2023 13:59:31 -0500
Received: from omta040.useast.a.cloudfilter.net ([44.202.169.39])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tom@HIDDEN>) id 1rK11z-0005o9-Oc
 for bug-gnu-emacs@HIDDEN; Sun, 31 Dec 2023 13:59:31 -0500
Received: from eig-obgw-5005a.ext.cloudfilter.net ([10.0.29.234])
 by cmsmtp with ESMTPS
 id Jwi1ryTLc6nOZK11mrXztq; Sun, 31 Dec 2023 18:59:14 +0000
Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS
 id K11krCLj11b9NK11lrDpVL; Sun, 31 Dec 2023 18:59:13 +0000
X-Authority-Analysis: v=2.4 cv=FLYIesks c=1 sm=1 tr=0 ts=6591ba01
 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17
 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19
 a=0EhelHQs3MnrYptC:21 a=e2cXIFwxEfEA:10 a=Qbun_eYptAEA:10 a=aR16PxjQAAAA:8
 a=ppypH7EIkz0cGQEMvvwA:9 a=zbFvvTOBjyH4ze5LlUjX:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender
 :Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=xboSO7YetI4TOXwO2QGy999/w2dJXHTmLBckG15V6qg=; b=ejR5kwIeEUVpFLJEeavk5MN2ko
 ENm2m84XDFeYpzIStnxTQ3Ibzc1qNDa9ssOUE4wdGTQ6jUmFjX8oZe+hjMpJIUTT6mYnMdcTbFKTo
 9KBGr05XyhtECkvPll6AQqGSg;
Received: from 71-211-161-25.hlrn.qwest.net ([71.211.161.25]:42508
 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2)
 (envelope-from <tom@HIDDEN>) id 1rK11k-001RUr-27;
 Sun, 31 Dec 2023 11:59:12 -0700
From: Tom Tromey <tom@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.3; vc-dir fails when I have a certain branch checked out
X-Attribution: Tom
Date: Sun, 31 Dec 2023 11:59:11 -0700
Message-ID: <8734vici68.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - box5379.bluehost.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - tromey.com
X-BWhitelist: no
X-Source-IP: 71.211.161.25
X-Source-L: No
X-Exim-ID: 1rK11k-001RUr-27
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: 71-211-161-25.hlrn.qwest.net (prentzel) [71.211.161.25]:42508
X-Source-Auth: tom+tromey.com
X-Email-Count: 1
X-Org: HG=bhshared;ORG=bluehost;
X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20=
X-Local-Domain: yes
X-CMAE-Envelope: MS4xfKjtXRZQBBnMpy1vtzKh3atWAmO/70L0Pum87qFx091phFyB+0b4O9XlwZK+Je2TWkH4GpEt8sPf3OkHVVbP9kjtypiNSgYf69x+zfLcvutsaWlrP3Dd
 qR6Htu0+jIRT9sFLb1rBVzC36Plm698K+Qf5NeAN/wMq6t7yDU8ZrgcnqLKg9I5XZxyZ8skJO+GEzW+JL6GS6rB8JNhT5FqHypA=
Received-SPF: permerror client-ip=44.202.169.39; envelope-from=tom@HIDDEN;
 helo=omta040.useast.a.cloudfilter.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


I use vc-dir frequently.

When I check out one particular branch of my gdb repository, vc-dir
fails with this error:

vc-do-command: Failed (status 2): git --no-pager remote get-url . .

The only thing that might be peculiar about this branch is that it uses
another local branch as its tracking branch.

If I check out other branches in this repository -- ones that track
remote branches -- vc-dir works again.



In GNU Emacs 28.3 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)
 of 2023-09-23 built on fd97b702fbea4aa3b70f5e90b3f3f165
Windowing system distributor 'The X.Org Foundation', version 11.0.12201009
System Description: Fedora Linux 38 (Workstation Edition)

Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xpm --with-x-toolkit=gtk3 --with-gpm=no
 --with-xwidgets --with-modules --with-harfbuzz --with-cairo --with-json
 --with-native-compilation build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2
 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches
 -pipe -Wall -Werror=format-security
 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Compilation

Minor modes in effect:
  shell-dirtrack-mode: t
  which-function-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  savehist-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /usr/share/emacs/28.3/lisp/play/bubbles
/home/tromey/.emacs.d/elpa/dictionary-1.10/dictionary hides /usr/share/emacs/28.3/lisp/net/dictionary

Features:
(shadow emacsbug markdown-mode tcl m4-mode gud novice pcmpl-unix
pcmpl-gnu two-column url-http url-gw url-auth sh-script smie executable
dired-aux rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc
rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap sgml-mode facemenu nxml-util nxml-enc
xmltok autoconf autoconf-mode gnus-html help-fns radix-tree url-cache
org-bullets org-element avl-tree ol-eww eww xdg url-queue mm-url
ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt
speedbar ezimage dframe ol-docview doc-view image-mode exif ol-bibtex
ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete
org-list org-faces org-entities noutline outline org-version
ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc
org-compat org-macs org-loaddefs find-func flow-fill python tramp-sh
term/xterm xterm face-remap goto-addr log-edit vc-annotate mule-util
jka-compr find-dired texinfo texinfo-loaddefs find-file make-mode
log-view pcvs-util vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs
vc-rcs copyright pulse ffap scheme mailalias dabbrev supercite regi
mail-hist ggtags hippie-exp etags fileloop generator xref project
bug-reference vc-git cc-mode cc-fonts cc-guess cc-menus cc-cmds
smerge-mode diff diff-mode shr-color mm-archive sort smiley gnus-cite
mail-extr qp gnus-async gnus-bcklg gnus-ml disp-table misearch
multi-isearch gnus-topic nndraft nnmh nnfolder utf-7 gnutls
network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp
gnus-cache gnus-sum shr kinsoku svg dom gnus-group gnus-undo smtpmail
sendmail gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source
utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047
rfc2045 ietf-drums mail-utils mm-util mail-prsvr add-log flyspell ispell
diminish projectile ibuf-macs pcase edmacro kmacro grep compile
text-property-search ibuf-ext ibuffer ibuffer-loaddefs dash appt
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat shell
pcomplete parse-time ls-lisp which-func imenu minimap autorevert
filenotify cus-load erc-track erc-match erc-services erc-networks
erc-hl-nicks easy-mmode color erc-button erc-fill erc-stamp wid-edit
erc-goodies erc erc-backend iso8601 time-date thingatpt pp format-spec
erc-loaddefs comp comp-cstr rx cl-extra help-mode warnings advice vc-dir
ewoc vc vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs
ange-ftp comint ansi-color ring server savehist clang-rename
clang-include-fixer let-alist clang-format xml finder-inf
gdb-shell-autoloads lisppaste-autoloads pydoc-info-autoloads info-look
info cl weblogger-autoloads package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl
tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads
xwidget-internal dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 2511390 280777)
 (symbols 48 68379 41)
 (strings 32 200925 47137)
 (string-bytes 1 9410331)
 (vectors 16 109364)
 (vector-slots 8 3054321 332806)
 (floats 8 532 632)
 (intervals 56 469509 4701)
 (buffers 992 1022))




Acknowledgement sent to Tom Tromey <tom@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#68183; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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