# [PATCH] stupid typo in git-checkout.sh

4 messages from 2007-12-11 to 2007-12-11. Participants: Pierre Habouzit, Johannes Sixt, Junio C Hamano.
Thread: https://gitlist.dev/t/11240

## Pierre Habouzit, 2007-12-11 16:09

Subject: [PATCH] stupid typo in git-checkout.sh
Message-ID: <20071211160925.GF15448@artemis.madism.org>
URL: https://gitlist.dev/e/20071211160925.GF15448%40artemis.madism.org

```
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
---

  thanks to Ingo Molnar that made me spot this one while answering to
  him eagerly that git-checkout had a fancy usage now ...

 git-checkout.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-checkout.sh b/git-checkout.sh
index f6d58ac..200f9bc 100755
--- a/git-checkout.sh
+++ b/git-checkout.sh
@@ -2,7 +2,7 @@
 
 OPTIONS_KEEPDASHDASH=t
 OPTIONS_SPEC="\
-git-branch [options] [<branch>] [<paths>...]
+git-checkout [options] [<branch>] [<paths>...]
 --
 b=          create a new branch started at <branch>
 l           create the new branchs reflog
-- 
1.5.3.7.2248.g93a2


```

## Pierre Habouzit, 2007-12-11 16:13

Subject: [PATCH Resend] Stupid typos in git-checkout.sh
Message-ID: <20071211161305.GH15448@artemis.madism.org>
URL: https://gitlist.dev/e/20071211161305.GH15448%40artemis.madism.org
In-Reply-To: <20071211160925.GF15448@artemis.madism.org>

```
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
---

  Woops there was another typo in the usage, fix it at the same time.

 git-checkout.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/git-checkout.sh b/git-checkout.sh
index f6d58ac..d3e1bd0 100755
--- a/git-checkout.sh
+++ b/git-checkout.sh
@@ -2,13 +2,13 @@
 
 OPTIONS_KEEPDASHDASH=t
 OPTIONS_SPEC="\
-git-branch [options] [<branch>] [<paths>...]
+git-checkout [options] [<branch>] [<paths>...]
 --
 b=          create a new branch started at <branch>
 l           create the new branchs reflog
 track       tells if the new branch should track the remote branch
 f           proceed even if the index or working tree is not HEAD
-m           performa  three-way merge on local modifications if needed
+m           perform a three-way merge on local modifications if needed
 q,quiet     be quiet
 "
 SUBDIRECTORY_OK=Sometimes
-- 
1.5.3.7.2248.g93a2

```

## Johannes Sixt, 2007-12-11 16:36

Subject: [PATCH] Fix a typo in checkout.sh and cleanup one-line help messages
Message-ID: <475EBC90.1060606@viscovery.net>
URL: https://gitlist.dev/e/475EBC90.1060606%40viscovery.net
In-Reply-To: <20071211161305.GH15448@artemis.madism.org>

```
This also shortens option descriptions to fit in 80 columns.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
---
Pierre Habouzit schrieb:
> Signed-off-by: Pierre Habouzit <madcoder@debian.org>
> ---
> 
>   Woops there was another typo in the usage, fix it at the same time.
> 
>  git-checkout.sh |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Funny, I had this in my tree since a few days, although embarassingly,
I hadn't spotted the "git-branch" typo :-/

-- Hannes

 git-checkout.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/git-checkout.sh b/git-checkout.sh
index f6d58ac..5621c69 100755
--- a/git-checkout.sh
+++ b/git-checkout.sh
@@ -2,13 +2,13 @@

 OPTIONS_KEEPDASHDASH=t
 OPTIONS_SPEC="\
-git-branch [options] [<branch>] [<paths>...]
+git-checkout [options] [<branch>] [<paths>...]
 --
 b=          create a new branch started at <branch>
-l           create the new branchs reflog
-track       tells if the new branch should track the remote branch
+l           create the new branch's reflog
+track       arrange that the new branch tracks the remote branch
 f           proceed even if the index or working tree is not HEAD
-m           performa  three-way merge on local modifications if needed
+m           merge local modifications into the new branch
 q,quiet     be quiet
 "
 SUBDIRECTORY_OK=Sometimes
-- 
1.5.3.7.1079.gecca

```

## Junio C Hamano, 2007-12-11 19:49

Subject: Re: [PATCH] Fix a typo in checkout.sh and cleanup one-line help messages
Message-ID: <7vzlwhc8pt.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vzlwhc8pt.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <475EBC90.1060606@viscovery.net>

```
Thanks.  Will take yours.

```
