Merge branch 'jk/prune-mtime'
authorJunio C Hamano <gitster@pobox.com>
Tue, 15 Dec 2015 16:02:13 +0000 (08:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Dec 2015 16:02:16 +0000 (08:02 -0800)
The helper used to iterate over loose object directories to prune
stale objects did not closedir() immediately when it is done with a
directory--a callback such as the one used for "git prune" may want
to do rmdir(), but it would fail on open directory on platforms
such as WinXP.

* jk/prune-mtime:
prune: close directory earlier during loose-object directory traversal

1  2 
sha1_file.c
diff --cc sha1_file.c
Simple merge