Skip to content

Commit aa804b7

Browse files
jnavilagitster
authored andcommitted
doc: git-init: rework definition lists
In all cases of option description, each option is in its own term. Use the same format here. Signed-off-by: Jean-Noël Avila <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cb8ae04 commit aa804b7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Documentation/git-init.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,14 @@ The option can have the following values, defaulting to `group` if no value
9999
is given:
100100
+
101101
--
102-
'umask' (or 'false')::
102+
umask::
103+
false::
103104

104105
Use permissions reported by umask(2). The default, when `--shared` is not
105106
specified.
106107

107-
'group' (or 'true')::
108+
group::
109+
true::
108110

109111
Make the repository group-writable, (and g+sx, since the git group may not be
110112
the primary group of all users). This is used to loosen the permissions of an
@@ -113,11 +115,13 @@ permission bits (e.g. if umask is `0022`, using `group` will not remove read
113115
privileges from other (non-group) users). See `0xxx` for how to exactly specify
114116
the repository permissions.
115117

116-
'all' (or 'world' or 'everybody')::
118+
all::
119+
world::
120+
everybody::
117121

118122
Same as `group`, but make the repository readable by all users.
119123

120-
'<perm>'::
124+
<perm>::
121125

122126
_<perm>_ is a 3-digit octal number prefixed with `0` and each file
123127
will have mode _<perm>_. _<perm>_ will override users'`umask(2)`

0 commit comments

Comments
 (0)