Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rerere: remove duplicated functions
[gitweb.git]
/
t
/
test-lib.sh
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index c1839f70b9dce20142dd0a4b50c999a6d4db5301..6f6244ab7e1ae8db044224ecb115a1f4cc64f912 100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-201,7
+201,7
@@
test_tick () {
# Both <file> and <contents> default to <message>.
test_commit () {
- file=${2:-
$(echo "$1" | tr 'A-Z' 'a-z')
}
+ file=${2:-
"$1.t"
}
echo "${3-$1}" > "$file" &&
git add "$file" &&
test_tick &&