# [PATCH 1/2] Documentation/git-init.txt: minor style and synopsis fixes

2 messages from 2015-01-15 to 2015-01-15. Participants: Alexander Kuleshov, Junio C Hamano.
Thread: https://gitlist.dev/t/38376

## Alexander Kuleshov, 2015-01-15 18:16

Subject: [PATCH 1/2] Documentation/git-init.txt: minor style and synopsis fixes
Message-ID: <1421345774-4756-1-git-send-email-kuleshovmail@gmail.com>
URL: https://gitlist.dev/e/1421345774-4756-1-git-send-email-kuleshovmail%40gmail.com

```
Signed-off-by: 0xAX <kuleshovmail@gmail.com>
---
 Documentation/git-init.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt
index 369f889..f1f0599 100644
--- a/Documentation/git-init.txt
+++ b/Documentation/git-init.txt
@@ -9,9 +9,9 @@ git-init - Create an empty Git repository or reinitialize an existing one
 SYNOPSIS
 --------
 [verse]
-'git init' [-q | --quiet] [--bare] [--template=<template_directory>]
-	  [--separate-git-dir <git dir>]
-	  [--shared[=<permissions>]] [directory]
+'git init' [-q | --quiet] [--bare] [--template=<template-directory>]
+	  [--separate-git-dir <git-dir>]
+	  [--shared[=<permissions>]] [<directory>]
 
 
 DESCRIPTION
@@ -50,12 +50,12 @@ Only print error and warning messages; all other output will be suppressed.
 Create a bare repository. If GIT_DIR environment is not set, it is set to the
 current working directory.
 
---template=<template_directory>::
+--template=<template-directory>::
 
 Specify the directory from which templates will be used.  (See the "TEMPLATE
 DIRECTORY" section below.)
 
---separate-git-dir=<git dir>::
+--separate-git-dir=<git-dir>::
 
 Instead of initializing the repository as a directory to either `$GIT_DIR` or
 `./.git/`, create a text file there containing the path to the actual
@@ -108,7 +108,7 @@ By default, the configuration flag `receive.denyNonFastForwards` is enabled
 in shared repositories, so that you cannot force a non fast-forwarding push
 into it.
 
-If you provide a 'directory', the command is run inside it. If this directory
+If you provide a <directory>, the command is run inside it. If this directory
 does not exist, it will be created.
 
 --
-- 
2.3.0.rc0.315.g0e14eda

```

## Junio C Hamano, 2015-01-15 19:43

Subject: Re: [PATCH 1/2] Documentation/git-init.txt: minor style and synopsis fixes
Message-ID: <xmqq61c77ru8.fsf@gitster.dls.corp.google.com>
URL: https://gitlist.dev/e/xmqq61c77ru8.fsf%40gitster.dls.corp.google.com
In-Reply-To: <1421345774-4756-1-git-send-email-kuleshovmail@gmail.com>

```
Alexander Kuleshov <kuleshovmail@gmail.com> writes:

> Signed-off-by: 0xAX <kuleshovmail@gmail.com>

Hmmmm.

> @@ -50,12 +50,12 @@ Only print error and warning messages; all other
> output will be suppressed.

Linewrapped?

I could apply it after fixing these hunk header lines, but I'd
prefer not to, as we wouldn't know where _else_ the mail transport
corrupted the patch in a way that "git apply" would not notice.

>  Create a bare repository. If GIT_DIR environment is not set, it is set to the
>  current working directory.
>  
> ---template=<template_directory>::
> +--template=<template-directory>::
>  
>  Specify the directory from which templates will be used.  (See the "TEMPLATE
>  DIRECTORY" section below.)
>  
> ---separate-git-dir=<git dir>::
> +--separate-git-dir=<git-dir>::
>  
>  Instead of initializing the repository as a directory to either `$GIT_DIR` or
>  `./.git/`, create a text file there containing the path to the actual
> @@ -108,7 +108,7 @@ By default, the configuration flag
> receive.denyNonFastForwards` is enabled
>  in shared repositories, so that you cannot force a non fast-forwarding push
>  into it.
>  
> -If you provide a 'directory', the command is run inside it. If this directory
> +If you provide a <directory>, the command is run inside it. If this directory
>  does not exist, it will be created.
>  
>  --

```
