summaryrefslogtreecommitdiff
path: root/t/t6024-recursive-merge.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-10-28 13:24:41 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-15 10:34:41 -0800
commit1f3b1efd18a935fed41431132c67cde5a94833ae (patch)
treec058d5bc621720997f357e4bedf9a0673ea18d0f /t/t6024-recursive-merge.sh
parentrev-parse: read parseopt spec with strbuf_getline() (diff)
downloadtgif-1f3b1efd18a935fed41431132c67cde5a94833ae.tar.xz
ident.c: read /etc/mailname with strbuf_getline()
Just in case /etc/mailname file was edited with a DOS editor, read it with strbuf_getline() so that a stray CR is not included as the last character of the mail hostname. We _might_ want to more aggressively discard whitespace characters around the line with strbuf_trim(), but that is a bit outside the scope of this series. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6024-recursive-merge.sh')
0 files changed, 0 insertions, 0 deletions