Skip to contentSkip to conversation

Documentation/git-init.txt: minor style and synopsis fixes

PATCH In review Alexander Kuleshov 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

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

---
 Documentation/git-init.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Documentation/git-init.txt +6 -6
index 369f889..f1f0599 100644
@@ -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.
 
 --
Signature · 1 line
2.3.0.rc0.315.g0e14eda
#1 lore raw
Quoted 1 line · Alexander Kuleshov

Hmmmm.

Quoted 2 lines
(quoted diff) +0 -0
@@ -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.

Quoted 24 lines

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

(quoted diff) +0 -0
@@ -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.

Documentation/git-init.txt +1 -1
-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.
 
 --