Johannes Schindelin
f8fbb1fcf8
gc/repack: release packs when needed
...
On Windows, files cannot be removed nor renamed if there are still
handles held by a process. To remedy that, we introduced the
close_all_packs() function.
Earlier, we made sure that the packs are released just before `git gc`
is spawned, in case that gc wants to remove no-longer needed packs.
But this developer forgot that gc itself also needs to let go of packs,
e.g. when consolidating all packs via the --aggressive option.
Likewise, `git repack -d` wants to delete obsolete packs and therefore
needs to close all pack handles, too.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
2016-06-14 08:23:41 +02:00
..
2015-11-05 12:18:12 -08:00
2016-05-09 12:29:08 -07:00
2016-06-03 14:38:04 -07:00
2016-04-13 14:12:41 -07:00
2016-05-23 14:54:29 -07:00
2016-05-31 12:40:54 -07:00
2016-02-01 13:43:02 -08:00
2016-02-01 13:43:02 -08:00
2016-01-15 10:12:51 -08:00
2016-02-22 14:51:09 -08:00
2016-02-01 13:43:49 -08:00
2016-05-23 14:54:29 -07:00
2016-06-14 08:22:36 +02:00
2016-06-14 08:21:35 +02:00
2016-01-15 10:35:07 -08:00
2016-05-13 13:18:27 -07:00
2016-06-14 08:20:09 +02:00
2016-04-14 18:57:43 -07:00
2015-11-20 08:02:05 -05:00
2016-05-13 14:35:49 -07:00
2016-05-13 14:35:49 -07:00
2016-05-23 14:54:35 -07:00
2016-05-23 14:54:35 -07:00
2016-06-14 08:21:35 +02:00
2016-03-01 11:19:19 -08:00
2016-05-17 14:38:28 -07:00
2015-12-11 11:14:13 -08:00
2016-04-10 11:35:33 -07:00
2016-06-14 08:23:41 +02:00
2016-05-06 14:45:44 -07:00
2016-02-10 14:20:08 -08:00
2016-05-09 12:29:08 -07:00
2016-05-17 14:38:23 -07:00
2016-04-13 14:12:28 -07:00
2016-01-14 12:22:17 -08:00
2016-05-23 14:54:31 -07:00
2016-02-10 14:20:08 -08:00
2016-01-19 10:07:56 -08:00
2015-10-21 15:59:34 -07:00
2016-05-09 12:29:08 -07:00
2016-02-22 14:51:09 -08:00
2016-05-09 12:29:08 -07:00
2016-04-25 14:23:42 -07:00
2016-04-25 15:17:15 -07:00
2016-02-26 13:37:16 -08:00
2016-04-29 12:59:07 -07:00
2016-05-03 14:08:13 -07:00
2016-04-22 14:09:37 -07:00
2016-05-17 14:38:28 -07:00
2016-02-22 14:51:09 -08:00
2016-06-03 14:38:03 -07:00
2015-11-03 15:32:25 -08:00
2016-05-17 14:38:23 -07:00
2016-02-26 13:37:25 -08:00
2016-04-25 15:17:15 -07:00
2016-04-25 14:23:42 -07:00
2016-05-06 13:16:37 -07:00
2016-05-09 12:20:40 -07:00
2016-06-14 08:23:41 +02:00
2016-04-29 12:59:07 -07:00
2015-11-20 08:02:05 -05:00
2016-03-17 11:24:14 -07:00
2016-04-14 18:57:44 -07:00
2016-05-17 14:38:28 -07:00
2016-04-13 14:12:33 -07:00
2016-01-28 16:10:14 -08:00
2015-12-11 11:14:14 -08:00
2015-11-20 08:02:07 -05:00
2016-01-29 16:02:34 -08:00
2016-06-14 08:23:08 +02:00
2015-12-21 12:03:03 -08:00
2016-04-29 12:59:09 -07:00
2015-11-20 08:02:05 -05:00
2016-05-09 12:29:08 -07:00
2016-05-09 12:29:08 -07:00
2016-04-22 14:06:46 -07:00
2016-05-23 14:54:29 -07:00