t / chainlint / t7900-subtree.expecton commit Merge branch 'sg/line-log-tree-diff-optim' (de67293)
   1(
   2        chks="sub1sub2sub3sub4" &&
   3        chks_sub=$(cat | sed 's,^,sub dir/,'
   4>>) &&
   5        chkms="main-sub1main-sub2main-sub3main-sub4" &&
   6        chkms_sub=$(cat | sed 's,^,sub dir/,'
   7>>) &&
   8        subfiles=$(git ls-files) &&
   9        check_equal "$subfiles" "$chkms$chks"
  10>)