Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-status: do not be totally useless in a read-only repository.
[gitweb.git]
/
t
/
annotate-tests.sh
diff --git
a/t/annotate-tests.sh
b/t/annotate-tests.sh
index b5ceba4acfd8e862cfc5a77672241e07205f70ea..87403da780814787f6c4ea15a790381a5b2395d3 100644
(file)
--- a/
t/annotate-tests.sh
+++ b/
t/annotate-tests.sh
@@
-113,7
+113,8
@@
test_expect_success \
test_expect_success \
'some edit' \
- 'perl -p -i.orig -e "s/^1A.*\n$//; s/^3A/99/" file &&
+ 'mv file file.orig &&
+ sed -e "s/^3A/99/" -e "/^1A/d" < file.orig > file &&
GIT_AUTHOR_NAME="D" git commit -a -m "edit"'
test_expect_success \