summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be4d2c8)
raw | patch | inline | side by side (parent: be4d2c8)
author | Marcel Koeppen <git-dev@marzelpan.de> | |
Fri, 16 May 2008 00:21:43 +0000 (02:21 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 17 May 2008 05:05:22 +0000 (22:05 -0700) |
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: Marcel Koeppen <git-dev@marzelpan.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
That call of sed is replaced by a more portable version using a temporary file.
Signed-off-by: Marcel Koeppen <git-dev@marzelpan.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7502-commit.sh | patch | blob | history |
diff --git a/t/t7502-commit.sh b/t/t7502-commit.sh
index 018060c60f590946c8e02181bfb1f572972bb787..3531a992a9a50e25a1585435e024097c7028af27 100755 (executable)
--- a/t/t7502-commit.sh
+++ b/t/t7502-commit.sh
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