diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-12-07 14:10:56 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-07 14:10:56 -0800 |
commit | fff26a68053022a2cbc39142c7c6f6d016837058 (patch) | |
tree | 1ad5a3cd1a135213b3694f11fdcb52bcddec51b9 /t/t1013-loose-object-format.sh | |
parent | Merge branch 'lt/diff-stat-show-0-lines' into maint (diff) | |
parent | reencode_string(): introduce and use same_encoding() (diff) | |
download | tgif-fff26a68053022a2cbc39142c7c6f6d016837058.tar.xz |
Merge branch 'jc/same-encoding' into maint
Various codepaths checked if two encoding names are the same using
ad-hoc code and some of them ended up asking iconv() to convert
between "utf8" and "UTF-8". The former is not a valid way to spell
the encoding name, but often people use it by mistake, and we
equated them in some but not all codepaths. Introduce a new helper
function to make these codepaths consistent.
* jc/same-encoding:
reencode_string(): introduce and use same_encoding()
Diffstat (limited to 't/t1013-loose-object-format.sh')
0 files changed, 0 insertions, 0 deletions