From 0748af27c03727358368b8d736d6267fe53496f5 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 7 Jul 2026 15:34:27 +0100 Subject: [PATCH] ; * admin/notes/repo (Bisecting): Refine 'git bisect run' recipe. --- admin/notes/repo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/notes/repo b/admin/notes/repo index 1384c4eb3ba..5bf6c9d0218 100644 --- a/admin/notes/repo +++ b/admin/notes/repo @@ -138,9 +138,9 @@ command for you, recording a result based on the exit code. Suppose 'emacs -batch -eval "(foo)"' exits non-zero if and only if the bug is present. Then you may be able to use something like this: - git bisect run sh -ec '{ test -e configure && { make || make \ - bootstrap; }; } || { git clean -xdff && ./autogen.sh autoconf && \ - ./configure && make; } || exit 125; src/emacs -batch -eval "(foo)"' + git bisect run sh -xc '{ test -e Makefile && { make || make bootstrap; }; } \ + || { git clean -xdff && ./autogen.sh autoconf && ./configure && make; } \ + || exit 125; src/emacs -batch -eval "(foo)"' This tries to recompile Emacs, tries a bootstrap build if that fails, and completely empties out your working tree of build products with 'git