Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cf/submodule-progress-dissociate'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Jun 2018 16:26:59 +0000
(09:26 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Jun 2018 16:26:59 +0000
(09:26 -0700)
* cf/submodule-progress-dissociate:
t7400: encapsulate setup code in test_expect_success
t/t7400-submodule-basic.sh
patch
|
blob
|
history
raw
(from parent 1:
6b55779
)
diff --git
a/t/t7400-submodule-basic.sh
b/t/t7400-submodule-basic.sh
index 2f532529b82a847f81d4bdda17f9f07c115c2d86..812db137b8db2f6f8457ccb5d6ab27e0215dbe1a 100755
(executable)
--- a/
t/t7400-submodule-basic.sh
+++ b/
t/t7400-submodule-basic.sh
@@
-126,8
+126,10
@@
test_expect_success 'submodule add' '
test_cmp empty untracked
'
-test_create_repo parent &&
-test_commit -C parent one
+test_expect_success 'setup parent and one repository' '
+ test_create_repo parent &&
+ test_commit -C parent one
+'
test_expect_success 'redirected submodule add does not show progress' '
git -C addtest submodule add "file://$submodurl/parent" submod-redirected \