gpt4 book ai didi

git bisect 第一次猜测越界

转载 作者:太空狗 更新时间:2023-10-29 14:43:07 25 4
gpt4 key购买 nike

我正在尝试使用 git bisect

我确定错误的提交是:

2ac4ac0a46d902235a51216b24257a977877979a at 19 Oct 2016

我发现的第一个好的提交是:

6a1d1ec5599d011a75df18075feb1819f1ad8877 at 9 Jan 2016

所以我跑:

> git bisect start
> git bisect good 6a1d1ec5599d011a75df18075feb1819f1ad8877
> git bisect bad 2ac4ac0a46d902235a51216b24257a977877979a
Bisecting: 3639 revisions left to test after this (roughly 12 steps)
[51450765b77e07b853b7efd0799aaeb2fbb5a0ea] only show canvas-player controls when not playing && controls = true

现在的问题是平分工具做出的第一个猜测是:

51450765b77e07b853b7efd0799aaeb2fbb5a0ea at 21 May 2015

这在最初的 2 个提交日期之外。怎么会这样?

最佳答案

一种可能性,假设如下:

* d4349a4 (master, HEAD) Commit 10
* 9816794 (broken) Commit 9
* abaf79f Commit 8
* e76f38f Merge branch 'branch1'
|\
| * e897f8e (branch1) Branch 5
| * d8b71a8 Branch 4
| * 1832b61 Branch 3
| * a821494 (working) Branch 2
| * 12c87e1 Branch 1
* | 2b94daa Commit 7
* | 515bea5 Commit 6
* | 516af15 Commit 5
* | 5a33f68 Commit 4
* | 66c18bc Commit 3
|/
* 7d10cd8 Commit 2
* 71bc62e Commit 1

如果您运行 git bisect broken working 然后运行 ​​git bisect visualize --oneline ( To see the currently remaining suspects )你会看到类似这样的东西:

9816794 (broken, refs/bisect/bad) Commit 9
abaf79f Commit 8
e76f38f Merge branch 'branch1'
e897f8e (branch1) Branch 5
d8b71a8 Branch 4
1832b61 Branch 3
2b94daa (HEAD) Commit 7
515bea5 Commit 6
516af15 Commit 5
5a33f68 Commit 4
66c18bc Commit 3

之所以包含来自 master 分支的提交,是因为它们也可能引入了错误。

关于git bisect 第一次猜测越界,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46098423/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com