From: Johan Herland Date: Tue, 9 Nov 2010 21:49:45 +0000 (+0100) Subject: builtin/notes.c: Split notes ref DWIMmery into a separate function X-Git-Tag: v1.7.4-rc0~82^2~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8ef313e1ec3b9b8ca47dce1fec632597aa34bedc?hp=8ef313e1ec3b9b8ca47dce1fec632597aa34bedc 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 Signed-off-by: Junio C Hamano ---