From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.help Subject: Re: build problem with git worktree linked to main worktree (repo) Date: Sun, 06 Nov 2022 22:30:45 +0100 Message-ID: <87fsevsrcq.fsf@no.workgroup> References: <87iljt2cdx.fsf@no.workgroup> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24781"; mail-complaints-to="usenet@ciao.gmane.io" To: Stefan Monnier , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 06 22:31:38 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ornEv-0006Ds-LZ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Nov 2022 22:31:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ornEU-0007O6-Oe; Sun, 06 Nov 2022 16:31:10 -0500 Original-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 ) id 1ornEH-0007Hu-SH for help-gnu-emacs@gnu.org; Sun, 06 Nov 2022 16:31:03 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ornEG-0004a3-6l for help-gnu-emacs@gnu.org; Sun, 06 Nov 2022 16:30:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1667770250; bh=uxYYyvA9BYKO1MJMJWzs0N5lNDQ5JsfuBNev01iEMOw=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=M+aWobI4Ml5pytuXaRptpM7JEMm3RZLODtZ4pkcV7kSC2SMI2+/yBd9kAFH5YGW/q RRBH9WLQGuVQ0eHrYYVWufQPl03kFWMtdAFvSlGj4sisciystmZf/Rh4A0jg1NoCV/ 7KmdU0RUVYtXjlKv53BQjLy3FOINOSZ6Nfcne/38L4yLUzBixU2lan8a7ENDTGeI3V TXlW79iN9It5KbptvQy44vysvjkROOcNc3T6H0AGOjZ2Ns/BqI45zAthP0QxKYJi4S mXH2dQh3KnZyPMNcWXe8MA62cixGnxGfBCgqnqybhV22W4D5TsVTF2s4+DuPT/jZYB 0cd+T6fCW5xgA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from localhost ([95.90.239.135]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MoO2E-1pKWHa0k00-00opKX; Sun, 06 Nov 2022 22:30:50 +0100 In-Reply-To: Mail-Followup-To: Stefan Monnier , help-gnu-emacs@gnu.org X-Provags-ID: V03:K1:K6RnfJurm2rJ4Xq7z37ozrqYQ+YlBM5qPozovzKPSvmxjSELBYt BGtgEb0/MotdL85qq9mwuvAxw0g2VZ/w042r4Oa9N555+gxZI3Y12fCQVvgg+sexbDVohcn ZhhWnE81zhm4Fw9kQ6800EWTjRhZbhPgrqLcdQBP1VkUxTYmyZymw5UP3bT4EzYG/4T1BQb isoUOvwDUgcbbxYLZ3MvQ== UI-OutboundReport: notjunk:1;M01:P0:Z5FdOIkN6hQ=;UrIP5xKdIonaX849yzEJqaPBZEh UaFEOO+j53wxxaCtTQpKOkfUUS44A95YtN/ESC36Evk4Uocixeh6awTMwMkI3dlOyWlk8Olpz AoTIyHVfz6lrRppnIQBVlSyI9lx4AzbMouxKxjs2C1NsNDDY+/aty46FuQ6aTGMInlxx45Aap GF2goUfSrAnTH+yApWB1KTYp0QxOOPqAdMNZIHrtzy7bvEV0ujKSc4McZVG1cO7tnNKYDY+Bo CwOVcGMHKohlGzQ2sJQf+kGdRmtuyb/Wkj+CehrCI2oT2D+HvjZ8P9h1/WICp4VsI1T975kW9 BYW1Cj1qvkdQDlbmM09cnUJr5cPAZxIKWAlS/PUOYmPMBPnFSSF6r9fqdBSwTnBoJEVyUgmKj j3XLXp/7Mu4ZKamB9yQ1ow8lDN4I0akH3olFZmKujOe//EevJ23jX+kEjLxWo7eSFfpLKT95w U9adg8hGJYbHrZpOx+aTeSAhxrPrcY0MHsK8mQCSLp/YrSZfOtF78nmWI91taf8hsU9T5ZAl2 IeQVFSVWGsjeuQLNbB10eZwHofy/Ggs9itnb/TcqNWgysfSrKCnf2vusKi6Ooh4L89wYheQhe Wv75K3ZnF+lLDRPu0erz0hbu2Jo+G/elWny0wdM4wWmNaQ0mBiIQ5XWg+9r/GOoEa2uSc1wzr SZc9FAcwaZ5iC3i40Nc7U5ov0zBZP1v2XvmHORrBVbAn4jjAVrMsBp1TaH5FQUCpo4qSqITsy 19zwZkaunguBARzGsanvSInMbYx0Iab57TOkM7Qg4t2ZtBUWINNAE7/L4DoV1WIFi2i4LAYc Received-SPF: pass client-ip=212.227.15.18; envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140746 Archived-At: Hi Stefan, Emacs users, * Stefan Monnier via Users list for the GNU Emacs text editor [2022-11-05; 23:59 -04]: >> The problem arises when the tree from which to build Emacs >> is actually a linked git worktree as opposed to a fully >> fletched git repo (main worktree in git parlance). > > That's weird. Maybe you could `M-x report-emacs-bug` so someone else > can look into fixing it? I filed bug#59064. Actually the problem only exists with *detached* linked worktrees, linked to a main worktree. Matt Armstrong found commit 307ad210040 which introduces the problem. The commit in question was part of Philip Kaludercic's work to solve Bug#57400, a feature-request for a vc- command to send patches. He changed `vc-working-revision' to resolve a hex ID to a symbolic revision if possible. This will likely be reverted. As a side-note: I tried to find the offending commit via git bisect but this hit on the wrong commit (44ad42240069d8d82772b0c0ef5ec93c2566ca7e). >> I now will use git worktrees linked to a bare repo. > > That's what I've been using for many years, so I can't vouch it'll work > for everyone, but at least it works well for me. Thanks for the info. Ciao; Gregor =2D- -... --- .-. . -.. ..--.. ...-.-