Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cherry-pick: demonstrate a segmentation fault
[gitweb.git]
/
t
/
t7406-submodule-update.sh
diff --git
a/t/t7406-submodule-update.sh
b/t/t7406-submodule-update.sh
index dda3929d99aea3ea30d30b5715532fe6184d5259..68ea31d6936cd1b19efc812cd11f63b7a6ca4fbb 100755
(executable)
--- a/
t/t7406-submodule-update.sh
+++ b/
t/t7406-submodule-update.sh
@@
-14,8
+14,8
@@
submodule and "git submodule update --rebase/--merge" does not detach the HEAD.
compare_head()
{
- sha_master=
`git rev-list --max-count=1 master`
- sha_head=
`git rev-list --max-count=1 HEAD`
+ sha_master=
$(git rev-list --max-count=1 master)
+ sha_head=
$(git rev-list --max-count=1 HEAD)
test "$sha_master" = "$sha_head"
}