From: Jean-Noël Avila Date: Sun, 10 Mar 2024 19:10:26 +0000 (+0000) Subject: doc: git-init: format placeholders X-Git-Tag: v2.45.0-rc0~89^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb8ae0442a9fc9f0922fd9d48ba2ff8ba104812e;p=thirdparty%2Fgit.git doc: git-init: format placeholders With the new doc format conventions, we use __. Signed-off-by: Jean-Noël Avila Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt index 7ff7d8e7ee..e8fe72861d 100644 --- a/Documentation/git-init.txt +++ b/Documentation/git-init.txt @@ -60,7 +60,7 @@ include::object-format-disclaimer.txt[] --ref-format=:: -Specify the given ref storage format for the repository. The valid values are: +Specify the given ref storage __ for the repository. The valid values are: + include::ref-storage-format.txt[] @@ -81,7 +81,7 @@ If this is a reinitialization, the repository will be moved to the specified pat -b :: --initial-branch=:: -Use the specified name for the initial branch in the newly created +Use __ for the initial branch in the newly created repository. If not specified, fall back to the default name (currently `master`, but this is subject to change in the future; the name can be customized via the `init.defaultBranch` configuration variable). @@ -119,8 +119,8 @@ Same as `group`, but make the repository readable by all users. '':: -'' is a 3-digit octal number prefixed with `0` and each file -will have mode ''. '' will override users'`umask(2)` +__ is a 3-digit octal number prefixed with `0` and each file +will have mode __. __ will override users'`umask(2)` value (and not only loosen permissions as `group` and `all` do). `0640` will create a repository which is group-readable, but not group-writable or accessible to others. `0660` will create a repo @@ -133,7 +133,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 __, the command is run inside it. If this directory does not exist, it will be created. TEMPLATE DIRECTORY