From: Junio C Hamano Date: Mon, 30 Dec 2013 17:19:55 GMT Subject: Re: [PATCH 9/9] trailer: add tests for "git interpret-trailers" Message-ID: In-Reply-To: <20131224063726.19560.61859.chriscool@tuxfamily.org> Christian Couder writes: > +# Do not remove trailing spaces below! > +cat >complex_message_trailers <<'EOF' > +Fixes: > +Acked-by: > +Reviewed-by: > +Signed-off-by: > +EOF Just a hint. I think it is far safer and robust over time to do something like this: sed -e 's/ Z$/ /' <<-\EOF Fixes: Z Acked-by: Z EOF instead of a comment, which can warn human developers but does not do anything to prevent their editors' auto-fix features from kicking in.