Merge branch 'jk/log-warn-on-bogus-encoding'
Squelch over-eager warning message added during this cycle. * jk/log-warn-on-bogus-encoding: log: document --encoding behavior on iconv() failure Revert "logmsg_reencode(): warn when iconv() fails"
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user