aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-21 17:59:08 -0500
committerJunio C Hamano <junkio@cox.net>2007-02-21 16:39:09 -0800
commite4a15f40bcd9e5679345d3cc74db3162310a7c83 (patch)
tree81373eeac52d7d94191abc6bfad0e05d4f74a1dd /Documentation
parent5bac4a671907604b5fb4e24ff682d5b0e8431931 (diff)
downloadgit-e4a15f40bcd9e5679345d3cc74db3162310a7c83.tar.gz
git-e4a15f40bcd9e5679345d3cc74db3162310a7c83.tar.xz
Document the new core.bare configuration option.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 38655350f..4a22a00b7 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -142,6 +142,18 @@ core.preferSymlinkRefs::
This is sometimes needed to work with old scripts that
expect HEAD to be a symbolic link.
+core.bare::
+ If true this repository is assumed to be 'bare' and has no
+ working directory associated with it. If this is the case a
+ number of commands that require a working directory will be
+ disabled, such as gitlink:git-add[1] or gitlink:git-merge[1].
++
+This setting is automatically guessed by gitlink:git-clone[1] or
+gitlink:git-init[1] when the repository was created. By default a
+repository that ends in "/.git" is assumed to be not bare (bare =
+false), while all other repositories are assumed to be bare (bare
+= true).
+
core.logAllRefUpdates::
Updates to a ref <ref> is logged to the file
"$GIT_DIR/logs/<ref>", by appending the new and old