summaryrefslogtreecommitdiff
path: root/Documentation/git-notes.txt
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-03-12 17:04:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-03-13 05:55:40 (GMT)
commitdcf783a26110ab99f2052e378ee76c3542a4b9e9 (patch)
tree35db98192b173e3d2f8f691d5afaff17a94925da /Documentation/git-notes.txt
parent6360d343af9acf7366be6ff89740f5077e12277b (diff)
downloadgit-dcf783a26110ab99f2052e378ee76c3542a4b9e9.zip
git-dcf783a26110ab99f2052e378ee76c3542a4b9e9.tar.gz
git-dcf783a26110ab99f2052e378ee76c3542a4b9e9.tar.bz2
notes: add shorthand --ref to override GIT_NOTES_REF
Adds a shorthand option that overrides the GIT_NOTES_REF variable, and hence determines the notes tree that will be manipulated. It also DWIMs a refs/notes/ prefix. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Acked-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-notes.txt')
-rw-r--r--Documentation/git-notes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt
index b12d1cf..dbfa1e8 100644
--- a/Documentation/git-notes.txt
+++ b/Documentation/git-notes.txt
@@ -116,6 +116,11 @@ OPTIONS
Like '-C', but with '-c' the editor is invoked, so that
the user can further edit the note message.
+--ref <ref>::
+ Manipulate the notes tree in <ref>. This overrides both
+ GIT_NOTES_REF and the "core.notesRef" configuration. The ref
+ is taken to be in `refs/notes/` if it is not qualified.
+
Author
------
Written by Johannes Schindelin <johannes.schindelin@gmx.de> and