Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'fc/maint-format-patch-pathspec-dashes'
[gitweb.git]
/
t
/
t7406-submodule-update.sh
diff --git
a/t/t7406-submodule-update.sh
b/t/t7406-submodule-update.sh
index 2d33d9efec3f2f601305e736e31368621acd0584..8e2449d24409bab14558f83617f651c3f7255627 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"
}