diff mbox series

Fix typo: "git bisectreset" -> "git bisect reset"

Message ID 20190211030639.18761-1-worldhello.net@gmail.com (mailing list archive)
State New, archived
Headers show
Series Fix typo: "git bisectreset" -> "git bisect reset" | expand

Commit Message

Jiang Xin Feb. 11, 2019, 3:06 a.m. UTC
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
---
 builtin/bisect--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Sunshine Feb. 11, 2019, 3:46 a.m. UTC | #1
On Sun, Feb 10, 2019 at 10:07 PM Jiang Xin <worldhello.net@gmail.com> wrote:
> diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c
> @@ -173,7 +173,7 @@ static int bisect_reset(const char *commit)
>                         return error(_("could not check out original"
>                                        " HEAD '%s'. Try 'git bisect"
> -                                      "reset <commit>'."), branch.buf);
> +                                      " reset <commit>'."), branch.buf);
>                 }

This duplicates a change made by [1], although that patch was
withdrawn (temporarily).

[1]: http://public-inbox.org/git/20190209213044.29539-1-jn.avila@free.fr/
Jiang Xin Feb. 11, 2019, 7:48 a.m. UTC | #2
Eric Sunshine <sunshine@sunshineco.com> 于2019年2月11日周一 上午11:47写道:
>
> On Sun, Feb 10, 2019 at 10:07 PM Jiang Xin <worldhello.net@gmail.com> wrote:
> > diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c
> > @@ -173,7 +173,7 @@ static int bisect_reset(const char *commit)
> >                         return error(_("could not check out original"
> >                                        " HEAD '%s'. Try 'git bisect"
> > -                                      "reset <commit>'."), branch.buf);
> > +                                      " reset <commit>'."), branch.buf);
> >                 }
>
> This duplicates a change made by [1], although that patch was
> withdrawn (temporarily).
>
> [1]: http://public-inbox.org/git/20190209213044.29539-1-jn.avila@free.fr/

Thank you for reminding.  Please use Jean-Noël's patch v2 (forgot add
v2 suffix?).
diff mbox series

Patch

diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c
index c1cff32661..5f0b4bddf1 100644
--- a/builtin/bisect--helper.c
+++ b/builtin/bisect--helper.c
@@ -173,7 +173,7 @@  static int bisect_reset(const char *commit)
 			argv_array_clear(&argv);
 			return error(_("could not check out original"
 				       " HEAD '%s'. Try 'git bisect"
-				       "reset <commit>'."), branch.buf);
+				       " reset <commit>'."), branch.buf);
 		}
 		argv_array_clear(&argv);
 	}