notes: add shorthand --ref to override GIT_NOTES_REF
commitdcf783a26110ab99f2052e378ee76c3542a4b9e9
authorThomas Rast <trast@student.ethz.ch>
Fri, 12 Mar 2010 17:04:35 +0000 (12 18:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Mar 2010 05:55:40 +0000 (12 21:55 -0800)
tree35db98192b173e3d2f8f691d5afaff17a94925da
parent6360d343af9acf7366be6ff89740f5077e12277b
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>
Documentation/git-notes.txt
builtin-notes.c