# [PATCH] Unify the argument of the parameter -m

4 messages from 2008-02-02 to 2008-02-03. Participants: Jörg Sommer, Jakub Narebski.
Thread: https://gitlist.dev/t/11849

## Jörg Sommer, 2008-02-02 23:58

Subject: [PATCH] Fix spelling mistake; flagg -> flag
Message-ID: <1201996688-5559-1-git-send-email-joerg@alea.gnuu.de>
URL: https://gitlist.dev/e/1201996688-5559-1-git-send-email-joerg%40alea.gnuu.de

```
Signed-off-by: Jörg Sommer <joerg@alea.gnuu.de>
---
 git-am.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-am.sh b/git-am.sh
index 5f0f241..2ecebc4 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -14,7 +14,7 @@ b,binary        pass --allo-binary-replacement to git-apply
 3,3way          allow fall back on 3way merging if needed
 s,signoff       add a Signed-off-by line to the commit message
 u,utf8          recode into utf8 (default)
-k,keep          pass -k flagg to git-mailinfo
+k,keep          pass -k flag to git-mailinfo
 whitespace=     pass it through git-apply
 C=              pass it through git-apply
 p=              pass it through git-apply
-- 
1.5.4.rc5

```

## Jörg Sommer, 2008-02-02 23:58

Subject: [PATCH] Unify the argument of the parameter -m
Message-ID: <1201996688-5559-2-git-send-email-joerg@alea.gnuu.de>
URL: https://gitlist.dev/e/1201996688-5559-2-git-send-email-joerg%40alea.gnuu.de
In-Reply-To: <1201996688-5559-1-git-send-email-joerg@alea.gnuu.de>

```
In the text, the agument of -m is <master> which should be used in the
command synopsis, too.

Signed-off-by: Jörg Sommer <joerg@alea.gnuu.de>
---
 Documentation/git-remote.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 10f6fa5..2cbd1f7 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt
@@ -10,7 +10,7 @@ SYNOPSIS
 --------
 [verse]
 'git-remote'
-'git-remote' add [-t <branch>] [-m <branch>] [-f] [--mirror] <name> <url>
+'git-remote' add [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url>
 'git-remote' rm <name>
 'git-remote' show <name>
 'git-remote' prune <name>
-- 
1.5.4.rc5

```

## Jörg Sommer, 2008-02-02 23:58

Subject: [PATCH] Unify the name of the second option in the text
Message-ID: <1201996688-5559-3-git-send-email-joerg@alea.gnuu.de>
URL: https://gitlist.dev/e/1201996688-5559-3-git-send-email-joerg%40alea.gnuu.de
In-Reply-To: <1201996688-5559-2-git-send-email-joerg@alea.gnuu.de>

```
Signed-off-by: Jörg Sommer <joerg@alea.gnuu.de>
---
 Documentation/git-push.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 5f24944..18e0c06 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -53,7 +53,7 @@ side are updated.
 +
 `tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
 +
-A parameter <ref> without a colon pushes the <ref> from the source
+A parameter <refspec> without a colon pushes the <refspec> from the source
 repository to the destination repository under the same name.
 +
 Pushing an empty <src> allows you to delete the <dst> ref from
-- 
1.5.4.rc5

```

## Jakub Narebski, 2008-02-03 12:04

Subject: Re: [PATCH] Unify the name of the second option in the text
Message-ID: <m3y7a25jqt.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3y7a25jqt.fsf%40localhost.localdomain
In-Reply-To: <1201996688-5559-3-git-send-email-joerg@alea.gnuu.de>

```
Jörg Sommer <joerg@alea.gnuu.de> writes:

> Signed-off-by: Jörg Sommer <joerg@alea.gnuu.de>
> ---
>  Documentation/git-push.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
> index 5f24944..18e0c06 100644
> --- a/Documentation/git-push.txt
> +++ b/Documentation/git-push.txt
> @@ -53,7 +53,7 @@ side are updated.
>  +
>  `tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
>  +
> -A parameter <ref> without a colon pushes the <ref> from the source
> +A parameter <refspec> without a colon pushes the <refspec> from the source
>  repository to the destination repository under the same name.
>  +
>  Pushing an empty <src> allows you to delete the <dst> ref from

Err... that is incorrect without further surgery. <refspec> is either
<ref>:<ref>, <ref> or some other exotic case; in the form <ref>:<ref>
it can include globbing. The fragment above talks about situation
where <refspec> is <ref>, and does not contain colon.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

```
