Skip to contentSkip to conversation

bisect; remove unused "git-bisect.sh" and ".gitignore" entry

PATCH In review Ævar Arnfjörð Bjarmason 4 participants 5 messages Nov 15, 2022 – Nov 16, 2022

lore
Share & tools
lore
#0 lore raw

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
index cb0231fb401..fe234cfa19a 100644
@@ -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
#1 lore raw
Quoted 5 lines · Ævar Arnfjörð Bjarmason

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.

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

#2 lore raw
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 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.

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 (Turn git bisect into 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

#3 lore raw
In reply to Ævar Arnfjörð Bjarmason
Quoted 10 lines · Ævar Arnfjörð Bjarmason

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".

Ack,
Sorry, I forgot to remove it :(
Other than the reference for commit, looking good.

Signature · 1 line
Danh
#4 lore raw
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 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.

Quoted 8 lines
Quoted 4 lines

---
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