summaryrefslogtreecommitdiff
path: root/t/t3050-subprojects-fetch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-11-24 15:51:49 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-24 15:51:49 -0800
commitb3ff808b714fd8fc5e4d2770720398e5dc7d27f9 (patch)
tree3db88ef171d6fcae53d0edf714fb280134be3baf /t/t3050-subprojects-fetch.sh
parentMerge branch 'maint' (diff)
parentt4124 (apply --whitespace): use test_might_fail (diff)
downloadtgif-b3ff808b714fd8fc5e4d2770720398e5dc7d27f9.tar.xz
Merge branch 'en/and-cascade-tests'
* en/and-cascade-tests: (25 commits) t4124 (apply --whitespace): use test_might_fail t3404: do not use 'describe' to implement test_cmp_rev t3404 (rebase -i): introduce helper to check position of HEAD t3404 (rebase -i): move comment to description t3404 (rebase -i): unroll test_commit loops t3301 (notes): use test_expect_code for clarity t1400 (update-ref): use test_must_fail t1502 (rev-parse --parseopt): test exit code from "-h" t6022 (renaming merge): chain test commands with && test-lib: introduce test_line_count to measure files tests: add missing &&, batch 2 tests: add missing && Introduce sane_unset and use it to ensure proper && chaining t7800 (difftool): add missing && t7601 (merge-pull-config): add missing && t7001 (mv): add missing && t6016 (rev-list-graph-simplify-history): add missing && t5602 (clone-remote-exec): add missing && t4026 (color): remove unneeded and unchained command t4019 (diff-wserror): add lots of missing && ... Conflicts: t/t7006-pager.sh
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"