diff mbox series

bisect: add first-parent option to documentation

Message ID 20200822203203.66116-1-alipman88@gmail.com (mailing list archive)
State Accepted
Commit 6028f5f661d5e701f410a8183d69f22871456ef7
Headers show
Series bisect: add first-parent option to documentation | expand

Commit Message

Aaron Lipman Aug. 22, 2020, 8:32 p.m. UTC
Ensure that the [--first-parent] option is listed in the output of
git bisect -h

Signed-off-by: Aaron Lipman <alipman88@gmail.com>
---
This patch updates a piece of documentation I missed when submitting the
first-parent option a few weeks ago.

 git-bisect.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christian Couder Aug. 23, 2020, 6:50 a.m. UTC | #1
On Sun, Aug 23, 2020 at 1:06 AM Aaron Lipman <alipman88@gmail.com> wrote:
>
> Ensure that the [--first-parent] option is listed in the output of
> git bisect -h
>
> Signed-off-by: Aaron Lipman <alipman88@gmail.com>
> ---
> This patch updates a piece of documentation I missed when submitting the
> first-parent option a few weeks ago.

Thanks!

>  git-bisect.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/git-bisect.sh b/git-bisect.sh
> index c7580e51a0..c28e35b0fa 100755
> --- a/git-bisect.sh
> +++ b/git-bisect.sh
> @@ -4,7 +4,7 @@ USAGE='[help|start|bad|good|new|old|terms|skip|next|reset|visualize|view|replay|
>  LONG_USAGE='git bisect help
>         print this long help message.
>  git bisect start [--term-{old,good}=<term> --term-{new,bad}=<term>]
> -                [--no-checkout] [<bad> [<good>...]] [--] [<pathspec>...]
> +                [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<pathspec>...]

This looks good to me as this matches what's in "Documentation/git-bisect.txt".

Best,
Christian.









> 2.24.3 (Apple Git-128)
>
diff mbox series

Patch

diff --git a/git-bisect.sh b/git-bisect.sh
index c7580e51a0..c28e35b0fa 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -4,7 +4,7 @@  USAGE='[help|start|bad|good|new|old|terms|skip|next|reset|visualize|view|replay|
 LONG_USAGE='git bisect help
 	print this long help message.
 git bisect start [--term-{old,good}=<term> --term-{new,bad}=<term>]
-		 [--no-checkout] [<bad> [<good>...]] [--] [<pathspec>...]
+		 [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<pathspec>...]
 	reset bisect state and start bisection.
 git bisect (bad|new) [<rev>]
 	mark <rev> a known-bad revision/