[PATCH v2 0/5] "git gc --auto" update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
1.7.8.36.g69ee2

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]