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