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:
0898c96
)
am: release pack files before garbage-collecting
author
Johannes Schindelin
<redacted>
Wed, 13 Jan 2016 17:20:16 +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/am.c
patch
|
blob
|
history
diff --git
a/builtin/am.c
b/builtin/am.c
index 9fb42fdd714a7785f6d75486db0d48fecceaacd6..de235cf11a9df925f482d02ec0df7c6e748ff35d 100644
(file)
--- a/
builtin/am.c
+++ b/
builtin/am.c
@@
-1939,6
+1939,7
@@
next:
*/
if (!state->rebasing) {
am_destroy(state);
+ close_all_packs();
run_command_v_opt(argv_gc_auto, RUN_GIT_CMD);
}
}
git clone https://git.99rst.org/PROJECT