ref: 4d955c05e146a5d9f42b90775fa49e376e218474
dir: /cmd/git/add.rc/
#!/bin/rc -e rm -fr addrepo mkdir -p addrepo echo @@ version1 @@ @{ rfork ne cd addrepo pwd=`{pwd} git/init mkdir dir mkdir another mkdir more touch a b c touch dir/a dir/b dir/c touch another/a another/b another/c touch more/a another/b another/c git/add a git/add $pwd/b git/add dir/a git/add $pwd/dir/b git/add more git/fs git/walk > ../actual.v1 git/commit -m version1 . } diff -c actual.v1 expected.v1