Add shortcut in refresh_cache_ent() for marked entries.
[gitweb.git] / t / t7502-commit.sh
index 018060c60f590946c8e02181bfb1f572972bb787..3531a992a9a50e25a1585435e024097c7028af27 100755 (executable)
@@ -166,7 +166,9 @@ test_expect_success 'author different from committer' '
        test_cmp expect actual
 '
 
-sed -i '$d' expect
+mv expect expect.tmp
+sed '$d' < expect.tmp > expect
+rm -f expect.tmp
 echo "# Committer:
 #" >> expect
 unset GIT_COMMITTER_EMAIL