Johannes Sixt 78ff971263 prune: close directory earlier during loose-object directory traversal
27e1e22d (prune: factor out loose-object directory traversal, 2014-10-16)
introduced a new function for_each_loose_file_in_objdir() with a helper
for_each_file_in_obj_subdir(). The latter calls callbacks for each file
found during a directory traversal and finally also a callback for the
directory itself.

git-prune uses the function to clean up the object directory. In
particular, in the directory callback it calls rmdir(). On Windows XP,
this rmdir call fails, because the directory is still open while the
callback is called. Close the directory before calling the callback.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2015-12-11 07:04:14 +01:00
2015-12-11 07:04:02 +01:00
2015-12-11 07:04:02 +01:00
2015-12-10 19:41:33 +01:00
2015-08-03 11:01:27 -07:00
2015-08-25 14:57:08 -07:00
2015-08-25 14:57:08 -07:00
2015-08-11 13:48:15 -07:00
2015-12-10 19:37:36 +01:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:21 -07:00
2015-08-03 11:01:27 -07:00
2015-12-10 19:41:24 +01:00
2015-06-29 11:39:10 -07:00
2015-09-28 19:16:54 -07:00
2015-09-28 14:57:10 -07:00
2015-12-10 19:37:36 +01:00
2015-08-19 14:48:56 -07:00
2015-08-03 11:01:18 -07:00
2015-12-08 14:12:45 -08:00
2015-09-28 15:28:31 -07:00
2015-09-28 15:33:56 -07:00
2015-08-03 11:01:27 -07:00
2015-09-04 10:43:23 -07:00
2015-08-25 14:57:09 -07:00
2015-08-25 14:57:08 -07:00
2015-12-04 11:39:19 -08:00
2015-08-25 14:57:08 -07:00
2015-08-25 14:57:09 -07:00
2015-09-28 19:16:54 -07:00
2015-09-09 14:30:35 -07:00
2015-08-11 14:29:36 -07:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

This project is run by a governance model. If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
No description provided
Readme 611 MiB
Languages
C 50.5%
Shell 38.7%
Perl 4.5%
Tcl 3.2%
Python 0.8%
Other 2.1%