{"thread":{"id":"6909","subject":"[PATCH] Document the new core.bare configuration option.","startedAt":"2007-02-21T22:59:08Z","lastAt":"2007-02-21T22:59:08Z","messageCount":1,"participants":["Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"35210","messageId":"20070221225908.GA27091@spearce.org","threadId":"6909","inReplyTo":null,"subject":"[PATCH] Document the new core.bare configuration option.","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-02-21T22:59:08Z","receivedAt":"2007-02-21T22:59:08Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Signed-off-by: Shawn O. Pearce <spearce@spearce.org>\n---\n Documentation/config.txt |   12 ++++++++++++\n 1 files changed, 12 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex f5c846f..9d045d8 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -142,6 +142,18 @@ core.preferSymlinkRefs::\n \tThis is sometimes needed to work with old scripts that\n \texpect HEAD to be a symbolic link.\n \n+core.bare::\n+\tIf true this repository is assumed to be 'bare' and has no\n+\tworking directory associated with it.  If this is the case a\n+\tnumber of commands that require a working directory will be\n+\tdisabled, such as gitlink:git-add[1] or gitlink:git-merge[1].\n++\n+This setting is automatically guessed by gitlink:git-clone[1] or\n+gitlink:git-init[1] when the repository was created.  By default a\n+repository that ends in \"/.git\" is assumed to be not bare (bare =\n+false), while all other repositories are assumed to be bare (bare\n+= true).\n+\n core.logAllRefUpdates::\n \tUpdates to a ref <ref> is logged to the file\n \t\"$GIT_DIR/logs/<ref>\", by appending the new and old\n-- \n1.5.0.1.615.gfb51\n"}]}