]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4013-diff-various.sh
print_sha1_ellipsis: introduce helper
[thirdparty/git.git] / t / t4013-diff-various.sh
index c515e3e53feef29fd6c7434e13d52b3ea913e167..9bed64d53e012db79acaf1c116367647049ed0d3 100755 (executable)
@@ -131,7 +131,7 @@ do
        test_expect_success "git $cmd" '
                {
                        echo "\$ git $cmd"
-                       git $cmd |
+                       GIT_PRINT_SHA1_ELLIPSIS="yes" git $cmd |
                        sed -e "s/^\\(-*\\)$V\\(-*\\)\$/\\1g-i-t--v-e-r-s-i-o-n\2/" \
                            -e "s/^\\(.*mixed; boundary=\"-*\\)$V\\(-*\\)\"\$/\\1g-i-t--v-e-r-s-i-o-n\2\"/"
                        echo "\$"