author | Johan Herland <johan@herland.net> | |
Tue, 9 Nov 2010 21:49:45 +0000 (22:49 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Nov 2010 21:21:30 +0000 (13:21 -0800) | ||
commit | 8ef313e1ec3b9b8ca47dce1fec632597aa34bedc | |
tree | 92be1e3c711e174cc17cf2c21942c2958f5658b1 | tree | snapshot |
parent | d4990c4b2f5f7066853fea4df775b3f506c79431 | commit | diff |
builtin/notes.c: Split notes ref DWIMmery into a separate function
expand_notes_ref() is a new function that performs the DWIM transformation
of "foo" -> "refs/notes/foo" where notes refs are expected.
This is done in preparation for future patches which will also need this
DWIM functionality.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
expand_notes_ref() is a new function that performs the DWIM transformation
of "foo" -> "refs/notes/foo" where notes refs are expected.
This is done in preparation for future patches which will also need this
DWIM functionality.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/notes.c | diff | blob | history |