hooks-pre-commit: use \t, rather than a literal TAB in regexp
[gitweb.git] / t / annotate-tests.sh
index 87403da780814787f6c4ea15a790381a5b2395d3..cacb273afff1fbddf152bb440451fa141589cf33 100644 (file)
@@ -114,7 +114,8 @@ test_expect_success \
 test_expect_success \
     'some edit' \
     'mv file file.orig &&
-    sed -e "s/^3A/99/" -e "/^1A/d" < file.orig > file &&
+    sed -e "s/^3A/99/" -e "/^1A/d" -e "/^incomplete/d" < file.orig > file &&
+    echo "incomplete" | tr -d "\\012" >>file &&
     GIT_AUTHOR_NAME="D" git commit -a -m "edit"'
 
 test_expect_success \