]> granicus.if.org Git - git/commit
t4014: let sed open its own files
authorDenton Liu <liu.denton@gmail.com>
Tue, 27 Aug 2019 04:05:07 +0000 (00:05 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Sep 2019 19:58:52 +0000 (12:58 -0700)
commitc6ec6dadba52a5186739fea4cf8fa2e26feb9e70
treed2a05135d99fe234d2407ae8cf2500bd7d58ff5b
parentf2e2fa8f60d2900bb676fa052e65bcae1f2a8ddb
t4014: let sed open its own files

In some cases, we were using a redirection operator to feed input into
sed. However, since sed is capable of opening its own files, make sed
open its own files instead of redirecting input into it.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4014-format-patch.sh