Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rev-parse: respect core.hooksPath in --git-path
[gitweb.git]
/
t
/
t5304-prune.sh
diff --git
a/t/t5304-prune.sh
b/t/t5304-prune.sh
index def203c7243c099e1359b9a0c44f22a07c06cb37..133b5842b1aee8e8e00eb0ca7e1b2d32ff4a4c9a 100755
(executable)
--- a/
t/t5304-prune.sh
+++ b/
t/t5304-prune.sh
@@
-266,7
+266,7
@@
EOF
'
test_expect_success 'prune .git/shallow' '
- SHA1=
`echo hi|git commit-tree HEAD^{tree}`
&&
+ SHA1=
$(echo hi|git commit-tree HEAD^{tree})
&&
echo $SHA1 >.git/shallow &&
git prune --dry-run >out &&
grep $SHA1 .git/shallow &&