bisect; remove unused "git-bisect.sh" and ".gitignore" entry
PATCH 1/1 bisect; remove unused "git-bisect.sh" and ".gitignore" entry
Since fc304fb52f9 (Merge branch 'dd/git-bisect-builtin' into next, 2022-11-14) we've used builtin/bisect.c instead of git-bisect.sh to implement the "bisect" command. Let's remove the unused leftover script, and the ".gitignore" entry for the "git-bisect--helper", which also hasn't been built since fc304fb52f9.
---
This goes on top of "dd/git-bisect-builtin", which just landed in "next".
.gitignore | 1 - git-bisect.sh | 63 --------------------------------------------------- 2 files changed, 64 deletions(-) delete mode 100755 git-bisect.sh
.gitignore +0 -1
@@ -20,7 +20,6 @@ /git-archimport /git-archive /git-bisect -/git-bisect--helper /git-blame /git-branch /git-bugreport
git-bisect.sh deleted +0 -63
63 lines not on this page · raw message
Signature · 1 line
2.38.0.1473.g172bcc0511c
Quoted 5 lines · Ævar Arnfjörð Bjarmason
Since
fc304fb52f9(Merge branch 'dd/git-bisect-builtin' into next, 2022-11-14) we've usedbuiltin/bisect.cinstead ofgit-bisect.shto implement the "bisect" command. Let's remove the unused leftover script, and the ".gitignore" entry for the "git-bisect--helper", which also hasn't been built sincefc304fb52f9.
A small nit, but it's probably not a good idea to refer to merge commits from 'next'. They may be meaningful now, but they aren't part of the long-term history, and will get gc'd eventually when Junio rewinds next after a release. Which will leave this reference useless for people looking at "git log" a year from now.
A better reference is probably 73fce29427 (Turn git bisect into a full built-in, 2022-11-10), which will remain stable as it gets merged eventually into master.
Quoted 2 lines
.gitignore | 1 - git-bisect.sh | 63 ---------------------------------------------------
The patch itself looks like an obviously correct thing to do.
-Peff
Quoted 14 lines · Jeff King
Quoted 5 lines · Ævar Arnfjörð Bjarmason
Since
fc304fb52f9(Merge branch 'dd/git-bisect-builtin' into next, 2022-11-14) we've usedbuiltin/bisect.cinstead ofgit-bisect.shto implement the "bisect" command. Let's remove the unused leftover script, and the ".gitignore" entry for the "git-bisect--helper", which also hasn't been built sincefc304fb52f9.A small nit, but it's probably not a good idea to refer to merge commits from 'next'. They may be meaningful now, but they aren't part of the long-term history, and will get gc'd eventually when Junio rewinds next after a release. Which will leave this reference useless for people looking at "git log" a year from now.
Quoted 3 lines
A better reference is probably
73fce29427(Turngit bisectinto a full built-in, 2022-11-10), which will remain stable as it gets merged eventually into master.
Thanks, I updated the reference to point at 73fce29427 while queueing.
As an aside, I am a little disappointed by the quality of what has recently been hitting 'next'. There was no chance for me to find the issues with t7610 without a Windows machine, but this should have been caught during testing.
Thanks,
Taylor
Quoted 10 lines · Ævar Arnfjörð Bjarmason
Since
fc304fb52f9(Merge branch 'dd/git-bisect-builtin' into next, 2022-11-14) we've usedbuiltin/bisect.cinstead ofgit-bisect.shto implement the "bisect" command. Let's remove the unused leftover script, and the ".gitignore" entry for the "git-bisect--helper", which also hasn't been built sincefc304fb52f9.Signed-off-by Ævar Arnfjörð Bjarmason <[email protected]>---
This goes on top of "dd/git-bisect-builtin", which just landed in "next".
Ack,
Sorry, I forgot to remove it :(
Other than the reference for commit, looking good.
Signature · 1 line
Danh
Quoted 7 lines · Đoàn Trần Công Danh
Quoted 6 lines · Ævar Arnfjörð Bjarmason
Since
fc304fb52f9(Merge branch 'dd/git-bisect-builtin' into next, 2022-11-14) we've usedbuiltin/bisect.cinstead ofgit-bisect.shto implement the "bisect" command. Let's remove the unused leftover script, and the ".gitignore" entry for the "git-bisect--helper", which also hasn't been built sincefc304fb52f9.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Ævar Arnfjörð Bjarmason <[email protected]>---
This goes on top of "dd/git-bisect-builtin", which just landed in "next".Ack,
Sorry, I forgot to remove it :(
Other than the reference for commit, looking good.
Thanks for the ACK.
Thanks,
Taylor