]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'hv/ref-filter-trailers-atom-parsing-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Aug 2020 22:49:47 +0000 (15:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Aug 2020 22:49:47 +0000 (15:49 -0700)
commite17723842b4fd42215ebf9c7ee5ab0bdfbe5a402
tree3b969dd1f4f8c01e841600503d93d893f68f45f9
parent63728e481451b8e218bec4d21ce085471d90fe7a
parent2c22e102f8cae598061be509344c6fdaf99c7db7
Merge branch 'hv/ref-filter-trailers-atom-parsing-fix'

The parser for "git for-each-ref --format=..." was too loose when
parsing the "%(trailers...)" atom, and forgot that "trailers" and
"trailers:<modifiers>" are the only two allowed forms, which has
been corrected.

* hv/ref-filter-trailers-atom-parsing-fix:
  ref-filter: 'contents:trailers' show error if `:` is missing
  t6300: unify %(trailers) and %(contents:trailers) tests
ref-filter.c
t/t6300-for-each-ref.sh