t6300: unify %(trailers) and %(contents:trailers) tests
authorHariom Verma <hariom18599@gmail.com>
Fri, 21 Aug 2020 10:11:01 +0000 (10:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Aug 2020 19:13:26 +0000 (12:13 -0700)
commita8e0f50edc8c4203834587541eed842497e83287
treec4d784c85d1eca0e30488908bd43bb197dbb0f81
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
t6300: unify %(trailers) and %(contents:trailers) tests

Currently, there are different tests for testing %(trailers) and
%(contents:trailers) causing redundant copy.

Its time to get rid of duplicate code.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Hariom Verma <hariom18599@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6300-for-each-ref.sh