Re: [PATCH 4/5] ref-filter.c: use trailer_opts to format trailers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Taylor Blau <me@xxxxxxxxxxxx> writes:

> diff --git a/t/t6300-for-each-ref.sh b/t/t6300-for-each-ref.sh
> index 2a9fcf713..2bd0c5da7 100755
> --- a/t/t6300-for-each-ref.sh
> +++ b/t/t6300-for-each-ref.sh
> @@ -597,6 +597,9 @@ Acked-by: A U Thor
>    <author@xxxxxxxxxxx>
>  EOF
>  
> +unfold () {
> +	perl -0pe 's/\n\s+/ /'
> +}

For the purpose of the current shape of the test, the above might be
sufficient, but the lack of "/g" at the end means that the script
will happily stop after unfolding just one line, which probably is
not what you intended.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux