summaryrefslogtreecommitdiff
path: root/admin/git-bisect-start
blob: 18dca4bef8b634781b06533556397d0d7181da9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash

# Start a git bisection, and prune the branches that are the result of
# merging external trees into the Emacs repository.

# Copyright (C) 2022 Free Software Foundation, Inc.

# This file is part of GNU Emacs.

# GNU Emacs is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.

git bisect start

# Prune commits 1e5b753bf4..806734c1b1 introduced by 0186faf2a1 (Eglot
# merge on Oct 20 2022)
# The following tells Git that all the commits between Eglot's root
# and its merge to master (excluding the merge-commit itself) are
# regarded as "good", so "git bisect" will never descend into the
# Eglot's branch, because that branch doesn't have all the files.
git bisect good 806734c1b1f433de43d59d9a5e3a1e89d64315f6