-
Committer:
John Arbash Meinel
-
Date:
2010-05-20 21:23:47 UTC
-
mto:
(4634.151.5 2.0)
-
mto:
This revision was merged to the branch mainline in
revision
5245.
-
Revision ID:
john@arbash-meinel.com-20100520212347-y6onphkgkspziji2
Bug #583486, close the current-dir file descriptor
This code path is triggered when you are given a bunch of files rather than directories
to commands like 'commit' and 'status'. It would try to check for files in each
path passed in, and leak a file descriptor for each one that was not a directory.