"git gc --auto" update
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest5 patches 2 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Add convenient function to do automatic garbage collectionbuiltin/ builtin/ builtin/ +1 more | +37 | 2 replies | |
| 2/5 | index-pack: perform automatic gc, share receive.gc config with receive-packDocumentation/ builtin/ | +8 | 0 replies | |
| 3/5 | commit: reinstate "gc --auto"Documentation/ builtin/ | +6 | 0 replies | |
| 4/5 | gc: add --dry-runDocumentation/ builtin/ | +25 | 0 replies | |
| 5/5 | Update "gc" behavior in commit, merge, am and rebasebuiltin/ builtin/ builtin/ +3 more | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] "git gc --auto" update
Changes since the first patch:
- wait time goes down to 1 hour, not too long, but also avoid flooding
- avoid 1 fork for calling "gc --auto" if there's no actual housekeeping
- commit learns commit.autogc config key. Scripts shoud make use of this
Nguyễn Thái Ngọc Duy (5):
Add convenient function to do automatic garbage collection
index-pack: perform automatic gc, share receive.gc config with
receive-pack
commit: reinstate "gc --auto"
gc: add --dry-run
Update "gc" behavior in commit, merge, am and rebase
Documentation/config.txt | 11 +++++++-- Documentation/git-gc.txt | 7 +++++- builtin/commit.c | 2 + builtin/gc.c | 46 +++++++++++++++++++++++++++++++++++++++++++- builtin/gc.h | 9 ++++++++ builtin/index-pack.c | 6 +++- builtin/merge.c | 8 +----- builtin/receive-pack.c | 14 +----------- git-am.sh | 2 +- git-rebase--interactive.sh | 2 +- 10 files changed, 80 insertions(+), 27 deletions(-) create mode 100644 builtin/gc.h
Signature · 1 line
1.7.8.36.g69ee2