A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg00034.html below:

Re: Emacs git repo mangled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Michael Albinus Subject: Re: Emacs git repo mangled Date: Tue, 01 Nov 2022 14:32:00 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Gregory Heytings <gregory@heytings.org> writes:

Hi Gregory,

>>> + Depending on what you want to do, it can be helpful to use the option
>>> + '--first-parent' with 'git bisect', which makes bisect ignore commits
>>> + coming into a branch from merges.
>>
>> I'd rather say 'git start --first-parent'. There's no other bisect
>> subcommand with that option.
>
> Doing that is wrong, alas.  Limiting bisection to first parents will
> often produce a wrong result.  TRT here is to follow Linus' advice, to
> which I pointed in my other post, namely to manually mark the last
> commit of the eglot branch before it was merged as "good".

This approach would raise other problems.

- You might not know that you are in a merged subtree. It took me two
  days until I realized this (hmm, this could mean I'm too stupid).

- If the bad commit is inside the merge, you won't see it, because you
  have marked the whole merged subtree as good (by marking the last
  commit of the merged subtree).

- It would require manual actions, because first you need to determine
  the range of the merged subtree in order to mark last commit of this.

Best regards, Michael.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4