Commit a single directory automatically adds files.
Created originally on Bitbucket by alfonse (Jason McKesson)
Normally, when you commit from the root of the repository, files that were not explicitly added are not checked in the list of potential files to commit. This behavior does not carry over to directory commits; these will default to having all files in that directory checked, even if they were not explicitly added before the commit.