summaryrefslogtreecommitdiff
path: root/builtin/stripspace.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-09-14 04:47:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-09-17 17:17:33 (GMT)
commit2e582df0e0f1589054674c8ed3391f240a37a6df (patch)
treebec41a8424c51b9d5443ee45449cdb041fc4dbb0 /builtin/stripspace.c
parent2f0f7f1ce7431a6484506c8c89d5d4648e6aefd4 (diff)
downloadgit-2e582df0e0f1589054674c8ed3391f240a37a6df.zip
git-2e582df0e0f1589054674c8ed3391f240a37a6df.tar.gz
git-2e582df0e0f1589054674c8ed3391f240a37a6df.tar.bz2
t7508: avoid non-portable sed expression
2556b996 (status: disable display of '#' comment prefix by default; 2013-09-06) introduced tests which fail on Mac OS X due to unportable use of \t (for TAB) in a sed expression. POSIX [1][2] also disallows it. Fix this. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html#tag_20_116_13_02 [2]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_03_02 Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/stripspace.c')
0 files changed, 0 insertions, 0 deletions