summaryrefslogtreecommitdiff
path: root/t/t4015-diff-whitespace.sh
diff options
context:
space:
mode:
authorLibravatar Lars Schneider <larsxschneider@gmail.com>2018-04-15 20:16:04 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-16 11:40:56 +0900
commit2f0c4a362c5db677ee392a6a550632bfb22d8319 (patch)
treeae17d1999ec3d87d4f2f86337e6c5b6e59eb9ac6 /t/t4015-diff-whitespace.sh
parentstrbuf: add a case insensitive starts_with() (diff)
downloadtgif-2f0c4a362c5db677ee392a6a550632bfb22d8319.tar.xz
utf8: teach same_encoding() alternative UTF encoding names
The function same_encoding() could only recognize alternative names for UTF-8 encodings. Teach it to recognize all kinds of alternative UTF encoding names (e.g. utf16). While we are at it, fix a crash that would occur if same_encoding() was called with a NULL argument and a non-NULL argument. This function is used in a subsequent commit. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4015-diff-whitespace.sh')
0 files changed, 0 insertions, 0 deletions