ref: 6dcdf888b80f11a4ccf8109326f8b2a36fb173b2
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