Skip to content

Commit adc7052

Browse files
committed
Merge branch 'maint'
By Jens Lehmann (1) and Johannes Sixt (1) * maint: Consistently use "superproject" instead of "supermodule" t3404: begin "exchange commits with -p" test with correct preconditions
2 parents 9de9681 + cb8ad28 commit adc7052

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

t/t3404-rebase-interactive.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ test_expect_success '-p handles "no changes" gracefully' '
247247
'
248248

249249
test_expect_failure 'exchange two commits with -p' '
250+
git checkout H &&
250251
FAKE_LINES="2 1" git rebase -i -p HEAD~2 &&
251252
test H = $(git cat-file commit HEAD^ | sed -ne \$p) &&
252253
test G = $(git cat-file commit HEAD | sed -ne \$p)

t/t7408-submodule-reference.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ git prune'
2828

2929
cd "$base_dir"
3030

31-
test_expect_success 'preparing supermodule' \
31+
test_expect_success 'preparing superproject' \
3232
'test_create_repo super && cd super &&
3333
echo file > file &&
3434
git add file &&
@@ -55,7 +55,7 @@ diff expected current'
5555

5656
cd "$base_dir"
5757

58-
test_expect_success 'cloning supermodule' \
58+
test_expect_success 'cloning superproject' \
5959
'git clone super super-clone'
6060

6161
cd "$base_dir"

t/t9300-fast-import.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ M 160000 :6 sub
16571657
INPUT_END
16581658

16591659
test_expect_success \
1660-
'P: supermodule & submodule mix' \
1660+
'P: superproject & submodule mix' \
16611661
'git fast-import <input &&
16621662
git checkout subuse1 &&
16631663
rm -rf sub && mkdir sub && (cd sub &&

unpack-trees.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ static int verify_uptodate_1(struct cache_entry *ce,
12101210
return 0;
12111211
/*
12121212
* NEEDSWORK: the current default policy is to allow
1213-
* submodule to be out of sync wrt the supermodule
1213+
* submodule to be out of sync wrt the superproject
12141214
* index. This needs to be tightened later for
12151215
* submodules that are marked to be automatically
12161216
* checked out.

0 commit comments

Comments
 (0)