summaryrefslogtreecommitdiff
path: root/t/t3050-subprojects-fetch.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t3050-subprojects-fetch.sh')
-rwxr-xr-xt/t3050-subprojects-fetch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3050-subprojects-fetch.sh b/t/t3050-subprojects-fetch.sh
index 4261e9641e..2f5f41a012 100755
--- a/t/t3050-subprojects-fetch.sh
+++ b/t/t3050-subprojects-fetch.sh
@@ -10,10 +10,10 @@ test_expect_success setup '
cd sub &&
git init &&
>subfile &&
- git add subfile
+ git add subfile &&
git commit -m "subproject commit #1"
) &&
- >mainfile
+ >mainfile &&
git add sub mainfile &&
test_tick &&
git commit -m "superproject commit #1"