repo.or.cz
/
git
/
raj.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
submodule--helper: teach config subcommand --unset
[git/raj.git]
/
t
/
chainlint
/
t7900-subtree.test
blob
277d8358dfd5f8d104665c420be234d40da9fb4e
1
(
2
chks="sub1
3
sub2
4
sub3
5
sub4" &&
6
chks_sub=$(cat <<TXT | sed 's,^,sub dir/,'
7
$chks
8
TXT
9
) &&
10
chkms="main-sub1
11
main-sub2
12
main-sub3
13
main-sub4" &&
14
chkms_sub=$(cat <<TXT | sed 's,^,sub dir/,'
15
$chkms
16
TXT
17
) &&
18
19
subfiles=$(git ls-files) &&
20
check_equal "$subfiles" "$chkms
21
$chks"
22
)