Skip to content
Snippets Groups Projects
Commit 56e4af3d authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'nd/doc-extensions'

Doc update.

* nd/doc-extensions:
  doc: move extensions.worktreeConfig to the right place
parents 7b9bb387 356aea6f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -292,13 +292,6 @@ include::config/advice.txt[]
 
include::config/core.txt[]
 
extensions.worktreeConfig::
If set, by default "git config" reads from both "config" and
"config.worktree" file from GIT_DIR in that order. In
multiple working directory mode, "config" file is shared while
"config.worktree" is per-working directory (i.e., it's in
GIT_COMMON_DIR/worktrees/<id>/config.worktree)
include::config/add.txt[]
 
include::config/alias.txt[]
Loading
Loading
Loading
Loading
@@ -290,6 +290,8 @@ worktrees/<id>/locked::
worktrees/<id>/config.worktree::
Working directory specific configuration file.
 
include::technical/repository-version.txt[]
SEE ALSO
--------
linkgit:git-init[1],
Loading
Loading
Git Repository Format Versions
==============================
== Git Repository Format Versions
 
Every git repository is marked with a numeric version in the
`core.repositoryformatversion` key of its `config` file. This version
Loading
Loading
@@ -40,16 +39,14 @@ format by default.
 
The currently defined format versions are:
 
Version `0`
-----------
=== Version `0`
 
This is the format defined by the initial version of git, including but
not limited to the format of the repository directory, the repository
configuration file, and the object and ref storage. Specifying the
complete behavior of git is beyond the scope of this document.
 
Version `1`
-----------
=== Version `1`
 
This format is identical to version `0`, with the following exceptions:
 
Loading
Loading
@@ -74,21 +71,18 @@ it here, in order to claim the name.
 
The defined extensions are:
 
`noop`
~~~~~~
==== `noop`
 
This extension does not change git's behavior at all. It is useful only
for testing format-1 compatibility.
 
`preciousObjects`
~~~~~~~~~~~~~~~~~
==== `preciousObjects`
 
When the config key `extensions.preciousObjects` is set to `true`,
objects in the repository MUST NOT be deleted (e.g., by `git-prune` or
`git repack -d`).
 
`partialclone`
~~~~~~~~~~~~~~
==== `partialclone`
 
When the config key `extensions.partialclone` is set, it indicates
that the repo was created with a partial clone (or later performed
Loading
Loading
@@ -98,3 +92,11 @@ and it promises that all such omitted objects can be fetched from it
in the future.
 
The value of this key is the name of the promisor remote.
==== `worktreeConfig`
If set, by default "git config" reads from both "config" and
"config.worktree" file from GIT_DIR in that order. In
multiple working directory mode, "config" file is shared while
"config.worktree" is per-working directory (i.e., it's in
GIT_COMMON_DIR/worktrees/<id>/config.worktree)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment