aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-notes.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-16 14:32:40 -0700
committerJunio C Hamano <gitster@pobox.com>2015-10-16 14:32:40 -0700
commitf4892a3c2883bd517edf370c747afde29a0c2b3c (patch)
tree5facb20808a432e317eea781abc2bcd91fd9de31 /Documentation/git-notes.txt
parent47c566a4d670e892ffa42fe307c45f41fc5a6ac5 (diff)
parente14c92e841fd6d99c8c17af05a411a85ac212254 (diff)
downloadgit-f4892a3c2883bd517edf370c747afde29a0c2b3c.tar.gz
git-f4892a3c2883bd517edf370c747afde29a0c2b3c.tar.xz
Merge branch 'jk/notes-dwim-doc' into maint
The way how --ref/--notes to specify the notes tree reference are DWIMmed was not clearly documented. * jk/notes-dwim-doc: notes: correct documentation of DWIMery for notes references
Diffstat (limited to 'Documentation/git-notes.txt')
-rw-r--r--Documentation/git-notes.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt
index a9a916f36..8de349968 100644
--- a/Documentation/git-notes.txt
+++ b/Documentation/git-notes.txt
@@ -162,7 +162,9 @@ OPTIONS
--ref <ref>::
Manipulate the notes tree in <ref>. This overrides
'GIT_NOTES_REF' and the "core.notesRef" configuration. The ref
- is taken to be in `refs/notes/` if it is not qualified.
+ specifies the full refname when it begins with `refs/notes/`; when it
+ begins with `notes/`, `refs/` and otherwise `refs/notes/` is prefixed
+ to form a full name of the ref.
--ignore-missing::
Do not consider it an error to request removing notes from an