From: Michael Haggerty Date: Sun, 4 Nov 2012 07:07:09 +0000 (+0100) Subject: notes: fix handling of colon-separated values X-Git-Tag: v1.8.1-rc0~60^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/031954d443668f6ea771e389c4137628d242c2d8?hp=031954d443668f6ea771e389c4137628d242c2d8 notes: fix handling of colon-separated values The substrings output by strbuf_split() include the ':' delimiters. When processing GIT_NOTES_DISPLAY_REF and GIT_NOTES_REWRITE_REF, strip off the delimiter character *before* checking whether the substring is empty rather than after, so that empty strings within the list are also skipped. Signed-off-by: Michael Haggerty Acked-by: Johan Herland Signed-off-by: Jeff King ---