提交 d16d5cdf 编写于 作者: M Marcel Koeppen 提交者: Junio C Hamano

Replace in-place sed in t7502-commit

The in-place mode of sed used in t7502-commit is a non-POSIX extension.
That call of sed is replaced by a more portable version using a temporary file.
Signed-off-by: NMarcel Koeppen <git-dev@marzelpan.de>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 be4d2c83
......@@ -166,7 +166,9 @@ test_expect_success 'author different from committer' '
test_cmp expect actual
'
sed -i '$d' expect
mv expect expect.tmp
sed '$d' < expect.tmp > expect
rm -f expect.tmp
echo "# Committer:
#" >> expect
unset GIT_COMMITTER_EMAIL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册