summaryrefslogtreecommitdiff
path: root/t/t4210-log-i18n.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-29 20:48:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-10-29 20:48:58 (GMT)
commit0988e665e936d0c2c861dcd652bff9817e9446bf (patch)
treeff5c6b6ec705cfef6e31fdd656fe5b98464a0235 /t/t4210-log-i18n.sh
parent1e93770888d3e71422f9f8defab216f1ebf977c3 (diff)
downloadgit-0988e665e936d0c2c861dcd652bff9817e9446bf.zip
git-0988e665e936d0c2c861dcd652bff9817e9446bf.tar.gz
git-0988e665e936d0c2c861dcd652bff9817e9446bf.tar.bz2
Revert "logmsg_reencode(): warn when iconv() fails"
This reverts commit fd680bc5 (logmsg_reencode(): warn when iconv() fails, 2021-08-27). Throwing a warning for each and every commit that gets reencoded, without allowing a way to squelch, would make it unpleasant for folks who have to deal with an ancient part of the history in an old project that used wrong encoding in the commits.
Diffstat (limited to 't/t4210-log-i18n.sh')
-rwxr-xr-xt/t4210-log-i18n.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/t/t4210-log-i18n.sh b/t/t4210-log-i18n.sh
index 0141f36..d2dfcf1 100755
--- a/t/t4210-log-i18n.sh
+++ b/t/t4210-log-i18n.sh
@@ -131,11 +131,4 @@ do
fi
done
-test_expect_success 'log shows warning when conversion fails' '
- enc=this-encoding-does-not-exist &&
- git log -1 --encoding=$enc 2>err &&
- echo "warning: unable to reencode commit to ${SQ}${enc}${SQ}" >expect &&
- test_cmp expect err
-'
-
test_done