From 1bfb832bcf1f7eecd59fac3fb7ce96694acab3a0 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Sat, 1 Nov 2025 00:06:53 +0000 Subject: [PATCH 1/3] git-bisect: Expand page --- pages/common/git-bisect.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pages/common/git-bisect.md b/pages/common/git-bisect.md index d71391f4d8392f..1cdf35638ad5e6 100644 --- a/pages/common/git-bisect.md +++ b/pages/common/git-bisect.md @@ -20,6 +20,18 @@ `git bisect skip` +- Start a bisect session considering only commits that modify a specific file or directory: + +`git bisect start {{bad_commit}} {{good_commit}} -- {{path/to/file_or_directory}}` + +- Automate the bisect process using a test script that `exit`s with 0 for "good" and non-zero for "bad": + +`git bisect run {{path/to/test_script}} {{[script arguments...]}}` + - Display a log of what has been done so far: `git bisect log` + +- Show remaining candidate commits to be checked: + +`git bisect visualize` From 9504433873e30a292602c8770779c2d45f43603c Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Sat, 8 Nov 2025 07:46:31 +0100 Subject: [PATCH 2/3] Update git-bisect.md Co-authored-by: Lena Pastwa <126529524+acuteenvy@users.noreply.github.com> --- pages/common/git-bisect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-bisect.md b/pages/common/git-bisect.md index 1cdf35638ad5e6..88fc062ad83c4c 100644 --- a/pages/common/git-bisect.md +++ b/pages/common/git-bisect.md @@ -24,7 +24,7 @@ `git bisect start {{bad_commit}} {{good_commit}} -- {{path/to/file_or_directory}}` -- Automate the bisect process using a test script that `exit`s with 0 for "good" and non-zero for "bad": +- Automate the bisect process using a test script that `exit`s with 0 for "good" and non-zero for "bad" (script arguments are optional): `git bisect run {{path/to/test_script}} {{[script arguments...]}}` From b3ee57888bda011e6a8ca2b187150ab9fd36fbd6 Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Tue, 11 Nov 2025 20:02:26 +0100 Subject: [PATCH 3/3] Update git-bisect.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/git-bisect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-bisect.md b/pages/common/git-bisect.md index 88fc062ad83c4c..1b020982c45beb 100644 --- a/pages/common/git-bisect.md +++ b/pages/common/git-bisect.md @@ -26,7 +26,7 @@ - Automate the bisect process using a test script that `exit`s with 0 for "good" and non-zero for "bad" (script arguments are optional): -`git bisect run {{path/to/test_script}} {{[script arguments...]}}` +`git bisect run {{path/to/test_script}} {{script_arguments}}` - Display a log of what has been done so far: