diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2024-03-10 19:10:27 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-11 09:58:11 -0700 |
commit | aa804b7a4c0d51edefabdc5a2992056a2f31a173 (patch) | |
tree | 1d4aa85b3843cf0f0e43280da56cc535798cf10f /Documentation | |
parent | cb8ae0442a9fc9f0922fd9d48ba2ff8ba104812e (diff) | |
download | git-aa804b7a4c0d51edefabdc5a2992056a2f31a173.tar.gz |
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 <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-init.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt index e8fe72861d..5fce39040f 100644 --- a/Documentation/git-init.txt +++ b/Documentation/git-init.txt @@ -99,12 +99,14 @@ The option can have the following values, defaulting to `group` if no value is given: + -- -'umask' (or 'false'):: +umask:: +false:: Use permissions reported by umask(2). The default, when `--shared` is not specified. -'group' (or 'true'):: +group:: +true:: Make the repository group-writable, (and g+sx, since the git group may not be 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 privileges from other (non-group) users). See `0xxx` for how to exactly specify the repository permissions. -'all' (or 'world' or 'everybody'):: +all:: +world:: +everybody:: Same as `group`, but make the repository readable by all users. -'<perm>':: +<perm>:: _<perm>_ is a 3-digit octal number prefixed with `0` and each file will have mode _<perm>_. _<perm>_ will override users'`umask(2)` |