summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-06-13 11:21:06 -0700
committerJunio C Hamano <gitster@pobox.com>2010-06-13 11:21:06 -0700
commit95e42a64a9e713bcc3c4590fb933c93d37342322 (patch)
tree4bf5b47c3b098bf4848313350888bb24d3ab93e0 /Documentation/config.txt
parentce987457ca3db0c78d5e720f753adf210fd3dd65 (diff)
parent1a3eb9a0325fc1d1d168b517210b7760d31d3022 (diff)
downloadgit-95e42a64a9e713bcc3c4590fb933c93d37342322.tar.gz
Merge branch 'jn/notes-doc'
* jn/notes-doc: Documentation/notes: nitpicks Documentation/notes: clean up description of rewriting configuration Documentation/notes: simplify treatment of default display refs Documentation/log: add a CONFIGURATION section Documentation/notes: simplify treatment of default notes ref Documentation/notes: add configuration section Documentation/notes: describe content of notes blobs Documentation/notes: document format of notes trees
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt16
1 files changed, 5 insertions, 11 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 7e2ae254b0..95cf73cd47 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -520,18 +520,12 @@ check that makes sure that existing object files will not get overwritten.
core.notesRef::
When showing commit messages, also show notes which are stored in
- the given ref. This ref is expected to contain files named
- after the full SHA-1 of the commit they annotate. The ref
- must be fully qualified.
+ the given ref. The ref must be fully qualified. If the given
+ ref does not exist, it is not an error but means that no
+ notes should be printed.
+
-If such a file exists in the given ref, the referenced blob is read, and
-appended to the commit message, separated by a "Notes (<refname>):"
-line (shortened to "Notes:" in the case of "refs/notes/commits"). If the
-given ref itself does not exist, it is not an error, but means that no
-notes should be printed.
-+
-This setting defaults to "refs/notes/commits", and can be overridden by
-the `GIT_NOTES_REF` environment variable.
+This setting defaults to "refs/notes/commits", and it can be overridden by
+the 'GIT_NOTES_REF' environment variable. See linkgit:git-notes[1].
core.sparseCheckout::
Enable "sparse checkout" feature. See section "Sparse checkout" in