add support for files in directories, and fix bug with depsinfo being
updated after commit
deps now does nothing if no files have been updated