You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t4201 (shortlog): guard setup with test_expect_success
Follow the current prevailing style. This also has the benefit of
capturing any stray output and noticing if any of the setup commands
start failing.
Signed-off-by: Jonathan Nieder <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
git commit --quiet -m "This is a very, very long first line for the commit message to see if it is wrapped correctly" a1
19
-
20
-
# test if the wrapping is still valid when replacing all i's by treble clefs.
21
-
echo 3 > a1
22
-
git commit --quiet -m "$(echo "This is a very, very long first line for the commit message to see if it is wrapped correctly"| sed "s/i/1234/g"| tr 1234 '\360\235\204\236')" a1
23
-
24
-
# now fsck up the utf8
25
-
git config i18n.commitencoding non-utf-8
26
-
echo 4 > a1
27
-
git commit --quiet -m "$(echo "This is a very, very long first line for the commit message to see if it is wrapped correctly"| sed "s/i/1234/g"| tr 1234 '\370\235\204\236')" a1
0 commit comments