builtin/notes.c: Split notes ref DWIMmery into a separate function
authorJohan Herland <johan@herland.net>
Tue, 9 Nov 2010 21:49:45 +0000 (22:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Nov 2010 21:21:30 +0000 (13:21 -0800)
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>
No differences found