Eric Sunshine <sunsh...@sunshineco.com> writes:
>> + (echo p; echo 1; echo; echo s; echo n; echo y; echo q) | git commit
>> --interactive -m foo
> Broken &&-chain.
> Would a printf make this more readable?
> printf "p\n1\n\ns\nn\ny\nq\n" | git commt ... &&
> Perhaps not.
printf "%s\n" p 1 "" s n y q
is vastly more readable, I would think.
Don't we have test_write_lines which is exactly that, though?
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