W dniu 2014-03-27 19:50, David A. Dalrymple (and Bhushan G. Lodha) pisze:

+test_expect_success setup '
+       echo "* diff=cpp" > .gitattributes
+
+       >file &&
+       git add file &&
+       test_tick &&
+       git commit -m initial &&
+
+       printf "int main(){\n\treturn 0;\n}\n" >> file &&
+       test_tick &&
+       git commit -am second

Wouldn't it be more readable to use "cat \-EOF" or separate files
instead of printf-s with embedded newlines "\n" and tabs "\t"?

--
Jakub Narębski

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to