From: Junio C Hamano Date: Sat, 7 Oct 2017 07:27:56 +0000 (+0900) Subject: Merge branch 'tb/ref-filter-empty-modifier' X-Git-Tag: v2.15.0-rc1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43c9e7e365d7a8961767d0bd4a305ca378800a2a;p=git Merge branch 'tb/ref-filter-empty-modifier' In the "--format=..." option of the "git for-each-ref" command (and its friends, i.e. the listing mode of "git branch/tag"), "%(atom:)" (e.g. "%(refname:)", "%(body:)" used to error out. Instead, treat them as if the colon and an empty string that follows it were not there. * tb/ref-filter-empty-modifier: ref-filter.c: pass empty-string as NULL to atom parsers --- 43c9e7e365d7a8961767d0bd4a305ca378800a2a