From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.devel Subject: Re: Emacs git repo mangled Date: Mon, 31 Oct 2022 22:10:35 +0100 Message-ID: <87mt9bekzm.fsf@telefonica.net> References: <875yg0ypvp.fsf@gmail.com> <87o7tsug51.fsf@gmail.com> <87fsf3yhau.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32318"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 31 22:42:25 2022 Return-path: Envelope-to: ged-emacs-devel@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 1opcY5-0008Fo-MC for ged-emacs-devel@m.gmane-mx.org; Mon, 31 Oct 2022 22:42:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opcXD-0001ZX-Qk; Mon, 31 Oct 2022 17:41:31 -0400 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 1opcPx-0005uo-Gk for emacs-devel@gnu.org; Mon, 31 Oct 2022 17:34:03 -0400 Original-Received: from relayout04-redir.e.movistar.es ([86.109.101.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opcPu-0006tE-Py for emacs-devel@gnu.org; Mon, 31 Oct 2022 17:34:01 -0400 Original-Received: from sky (91.red-81-39-16.dynamicip.rima-tde.net [81.39.16.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout04.e.movistar.es (Postfix) with ESMTPSA id 4N1RH23r17z124Y for ; Mon, 31 Oct 2022 22:33:49 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Mon, 31 Oct 2022 16:39:12 -0400") Original-Lines: 25 X-From-Line: nobody Mon Oct 31 22:10:36 2022 X-TnetOut-Country: IP: 81.39.16.91 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout04 X-TnetOut-MsgID: 4N1RH23r17z124Y.A69BE X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1667856830.63584@/N0tcnFqySftD5xnNvNelA Received-SPF: softfail client-ip=86.109.101.204; envelope-from=ofv@wanadoo.es; helo=relayout04-redir.e.movistar.es 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298893 Archived-At: Stefan Monnier writes: > Andreas Schwab [2022-10-31 19:33:13] wrote: >> On Okt 31 2022, Stefan Monnier wrote: >>> Nothing's wrong: the Git history looks fine to me. >>> The problem is fundamental to `git bisect` (which starts from the >>> assumption that the history is linear, which is a lie). >> That's not true. Bisection handles nonlinear history very well. > > I did not say it doesn't handle nonlinear history well. I said it > assumes that the history is linear (it's inherent to the notion of > "bisecting"). Not at all. See "Bisection algorithm discussed" in [1]. `git bisect' would be very dumb if it wouldn't take advantage of merge commits. As for bisecting Emacs, it's a real PITA because there are so many broken commits plus you really need a full rebuild for each step to avoid false results. One thing that would be useful is a list of bad commits on a format that could be easily used with `git bisect skip'. 1. https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-bisect-lk2009.html