help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build problem with git worktree linked to main worktree (repo)


From: Gregor Zattler
Subject: Re: build problem with git worktree linked to main worktree (repo)
Date: Sun, 06 Nov 2022 22:30:45 +0100

Hi Stefan, Emacs users,
* Stefan Monnier via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [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
--
 -... --- .-. . -.. ..--.. ...-.-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]