From: Johan Herland Date: Sun, 27 May 2007 14:13:09 GMT Subject: [PATCH 06/15] git-note: (Documentation) Explain the new '--notes' option to git-rev-parse and git-show-ref Message-ID: <200705271613.09919.johan@herland.net> In-Reply-To: <200705271608.02122.johan@herland.net> Signed-off-by: Johan Herland --- Documentation/git-rev-parse.txt | 5 ++++- Documentation/git-show-ref.txt | 14 +++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Documentation/git-rev-parse.txt b/Documentation/git-rev-parse.txt index 7757abe..7d36011 100644 --- a/Documentation/git-rev-parse.txt +++ b/Documentation/git-rev-parse.txt @@ -73,8 +73,11 @@ OPTIONS --tags:: Show tag refs found in `$GIT_DIR/refs/tags`. +--notes:: + Show note refs found in `$GIT_DIR/refs/notes`. + --remotes:: - Show tag refs found in `$GIT_DIR/refs/remotes`. + Show refs found in `$GIT_DIR/refs/remotes`. --show-prefix:: When the command is invoked from a subdirectory, show the diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt index 2355aa5..7e204f0 100644 --- a/Documentation/git-show-ref.txt +++ b/Documentation/git-show-ref.txt @@ -9,7 +9,7 @@ SYNOPSIS -------- [verse] 'git-show-ref' [-q|--quiet] [--verify] [-h|--head] [-d|--dereference] - [-s|--hash] [--abbrev] [--tags] [--heads] [--] ... + [-s|--hash] [--abbrev] [--tags] [--heads] [--notes] [--] ... 'git-show-ref' --exclude-existing[=pattern] DESCRIPTION @@ -33,16 +33,16 @@ OPTIONS Show the HEAD reference. ---tags, --heads:: +--heads, --tags, --notes:: - Limit to only "refs/heads" and "refs/tags", respectively. These - options are not mutually exclusive; when given both, references stored - in "refs/heads" and "refs/tags" are displayed. + Limit to only "refs/heads", "refs/tags" and "refs/notes", respectively. + These options are not mutually exclusive; when given more than one, + references classified as any of them are displayed. -d, --dereference:: - Dereference tags into object IDs as well. They will be shown with "^{}" - appended. + Dereference tags and notes into object IDs as well. They will be shown + with "^{}" appended. -s, --hash:: -- 1.5.2.101.gee49f