git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 1/2] Documentation/git-init.txt: minor style and synopsis fixes
@ 2015-01-15 18:16 Alexander Kuleshov
  2015-01-15 19:43 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kuleshov @ 2015-01-15 18:16 UTC (permalink / raw
  To: Junio C Hamano; +Cc: git, 0xAX

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] Documentation/git-init.txt: minor style and synopsis fixes
  2015-01-15 18:16 [PATCH 1/2] Documentation/git-init.txt: minor style and synopsis fixes Alexander Kuleshov
@ 2015-01-15 19:43 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2015-01-15 19:43 UTC (permalink / raw
  To: Alexander Kuleshov; +Cc: git

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.
>  
>  --

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-15 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 18:16 [PATCH 1/2] Documentation/git-init.txt: minor style and synopsis fixes Alexander Kuleshov
2015-01-15 19:43 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).