git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
df617b5
)
merge: release pack files before garbage-collecting
author
Johannes Schindelin
<redacted>
Wed, 13 Jan 2016 17:20:21 +0000
(18:20 +0100)
committer
Junio C Hamano
<redacted>
Wed, 13 Jan 2016 19:36:28 +0000
(11:36 -0800)
Before auto-gc'ing, we need to make sure that the pack files are
released in case they need to be repacked and garbage-collected.
Signed-off-by: Johannes Schindelin <redacted>
Reviewed-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/merge.c
patch
|
blob
|
history
diff --git
a/builtin/merge.c
b/builtin/merge.c
index 15bf95b3ac6c54727992103b1943515a1da32ff4..b98a3489bf24c0726b3847704e7ec0b658a79e51 100644
(file)
--- a/
builtin/merge.c
+++ b/
builtin/merge.c
@@
-404,6
+404,7
@@
static void finish(struct commit *head_commit,
* We ignore errors in 'gc --auto', since the
* user should see them.
*/
+ close_all_packs();
run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);
}
}
git clone https://git.99rst.org/PROJECT