minor cleanup
more reordering, fix XXXes
disable most of the wd code in apply-commit mode
more wd/head splitting
fix git_find_untracked, still unused
handle T state
fix do_wd oops
always emancipate items that actually changed in the wd
use working directory manifests
minor fixes
minor fixes
minor fix
minor fixes
pwd fixes
minor fixes
try to fix find_manifest_before