Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4024: fix test script to use simpler sed pattern
[gitweb.git]
/
t
/
t3900-i18n-commit.sh
diff --git
a/t/t3900-i18n-commit.sh
b/t/t3900-i18n-commit.sh
index fcbabe8ec32d61888e6cb28d393381066d1b0f3c..94b1c24b0a3629a6b06466186006a526bb9b4d9d 100755
(executable)
--- a/
t/t3900-i18n-commit.sh
+++ b/
t/t3900-i18n-commit.sh
@@
-8,7
+8,7
@@
test_description='commit and log output encodings'
. ./test-lib.sh
compare_with () {
- git show -s $1 | sed -e '1,/^$/d' -e 's/^ //'
-e '$d'
>current &&
+ git show -s $1 | sed -e '1,/^$/d' -e 's/^ //' >current &&
git diff current "$2"
}