Signed-off-by: Johan Herland <johan@xxxxxxxxxxx> --- 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] [--] <pattern>... + [-s|--hash] [--abbrev] [--tags] [--heads] [--notes] [--] <pattern>... '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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html