Merge branch 'tb/ref-filter-empty-modifier' into maint
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 05:19:06 +0000 (14:19 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 05:19:06 +0000 (14:19 +0900)
commitd9e85860567cdbf867a9af20997735f06db12ec5
tree5a6dab15a2b0d1b4aa802ab09696ef94d7103944
parent96d4b17bd6610275c3ae9d810f1557abaf168a23
parentbea4dbeafda3ddc4404f2e94dce0b66a4105399a
Merge branch 'tb/ref-filter-empty-modifier' into maint

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