summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2014-11-09 09:23:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-11-10 17:43:59 (GMT)
commitd52adf1f328162a9513940913ced044d24c0212f (patch)
tree81f229ea345aa9194af1a33b206b053984e15514 /remote.h
parent2887103b35b3b40025ca5060713dfb1e1c8c3b20 (diff)
downloadgit-d52adf1f328162a9513940913ced044d24c0212f.zip
git-d52adf1f328162a9513940913ced044d24c0212f.tar.gz
git-d52adf1f328162a9513940913ced044d24c0212f.tar.bz2
trailer: display a trailer without its trailing newline
Trailers passed to the parse_trailer() function often have a trailing newline. When erroring out, we should display the invalid trailer properly, that means without any trailing newline. Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
0 files changed, 0 insertions, 0 deletions