Merge branch 'jn/notes-doc' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 21 Jun 2010 12:39:16 +0000 (05:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Jun 2010 12:39:16 +0000 (05:39 -0700)
* 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

1  2 
Documentation/config.txt
diff --combined Documentation/config.txt
index fc4037a7d8e82c7328aae152b71705f62f1e69f7,295928ea728a93246ee9a22fddca12005fabff3b..ae174c99dba1d398eef66f13ec15b257eabb7034
@@@ -518,18 -518,12 +518,12 @@@ check that makes sure that existing obj
  
  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
@@@ -1359,6 -1353,10 +1353,6 @@@ notes.rewrite.<command>:
        automatically copies your notes from the original to the
        rewritten commit.  Defaults to `true`, but see
        "notes.rewriteRef" below.
 -+
 -This setting can be overridden with the `GIT_NOTES_REWRITE_REF`
 -environment variable, which must be a colon separated list of refs or
 -globs.
  
  notes.rewriteMode::
        When copying notes during a rewrite (see the
@@@ -1378,10 -1376,6 +1372,10 @@@ notes.rewriteRef:
  +
  Does not have a default value; you must configure this variable to
  enable note rewriting.
 ++
 +This setting can be overridden with the `GIT_NOTES_REWRITE_REF`
 +environment variable, which must be a colon separated list of refs or
 +globs.
  
  pack.window::
        The size of the window used by linkgit:git-pack-objects[1] when no
@@@ -1516,7 -1510,7 +1510,7 @@@ receive.denyDeletes:
        the ref. Use this to prevent such a ref deletion via a push.
  
  receive.denyCurrentBranch::
 -      If set to true or "refuse", receive-pack will deny a ref update
 +      If set to true or "refuse", git-receive-pack will deny a ref update
        to the currently checked out branch of a non-bare repository.
        Such a push is potentially dangerous because it brings the HEAD
        out of sync with the index and working tree. If set to "warn",
@@@ -1642,7 -1636,6 +1636,7 @@@ sendemail.smtppass:
  sendemail.suppresscc::
  sendemail.suppressfrom::
  sendemail.to::
 +sendemail.smtpdomain::
  sendemail.smtpserver::
  sendemail.smtpserverport::
  sendemail.smtpuser::
@@@ -1682,13 -1675,6 +1676,13 @@@ If this variable is not specified, it d
  This variable can be overridden with the -u|--untracked-files option
  of linkgit:git-status[1] and linkgit:git-commit[1].
  
 +status.submodulesummary::
 +      Defaults to false.
 +      If this is set to a non zero number or true (identical to -1 or an
 +      unlimited number), the submodule summary will be enabled and a
 +      summary of commits for modified submodules will be shown (see
 +      --summary-limit option of linkgit:git-submodule[1]).
 +
  tar.umask::
        This variable can be used to restrict the permission bits of
        tar archive entries.  The default is 0002, which turns off the