emacs-31 0748af27c03: ; * admin/notes/repo (Bisecting): Refine 'git bisect run' recipe.
Sean Whitton <[email protected]> Tue, 7 Jul 2026 10:34:44 -0400 (EDT)
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: emacs-31 commit 0748af27c03727358368b8d736d6267fe53496f5 Author: Sean Whitton <[email protected]> Commit: Sean Whitton <[email protected]> ; * 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