Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: enable recurse-submodules to work on <tree> objects
[gitweb.git]
/
t
/
t5900-repo-selection.sh
diff --git
a/t/t5900-repo-selection.sh
b/t/t5900-repo-selection.sh
index 3d5b418bb48ae9fa50411d1c88bc19b3404f1da1..14e59c5b3e4239c3d41d01f3c6a0d821dfe4e260 100755
(executable)
--- a/
t/t5900-repo-selection.sh
+++ b/
t/t5900-repo-selection.sh
@@
-15,7
+15,7
@@
make_tree() {
make_bare() {
git init --bare "$1" &&
(cd "$1" &&
- tree=
`git hash-object -w -t tree /dev/null`
&&
+ tree=
$(git hash-object -w -t tree /dev/null)
&&
commit=$(echo "$1" | git commit-tree $tree) &&
git update-ref HEAD $commit
)