Commits
- Commit:
0317ab6c0ce48babb19e46067d8677892bee130c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
take reachability in consideration when cleaning redundant packfiles
This wraps the cleaning up of loose objects and redundant pack files
under a new functions, making the _prepare() and _complete() functions
unnecessary. It walks the reachable commits unconditionally since
that information is always needed and adapt how we purge loose
objects after this change.
The progress function is changed too and we log `ncommits' first,
followed by the number of loose objects, followed by the rest.
Pack files are now considered redundant when all their objects are
provided by a bigger pack or are unreachable.
ok stsp
- Commit:
900499fd0de2c868694828487244f097de63289e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix cleanup progress reporting output
- Commit:
3bf0e21f50b11c683f08a06c8ab362fe220adc2b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a lock for the cleanup operation
This adds the functions got_repo_cleanup_prepare() and _complete()
to lock/unlock the repository to prevent multiple `gotadmin cleanup'
or `git gc' operations to run in parallel.
improvements and ok stsp@
- Commit:
9a7c12cfb1e1a7e36813ba8898c5281d5a0dbc30
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotadmin cleanup: remove redundant pack files
improvements and ok stsp@
- Commit:
c7a4fcc8bebad9dc0bd1183fec3bd405dd4ebc57
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotadmin pack: add a -D flag to force using ref-delta
Intended mostly for the regress suite, so we'll be able to test also the
ref-delta code paths.
ok stsp@
- Commit:
b8af7c0693fbaccaecf7b904aaf237066269f222
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
print additional progress information while packing
ok op@
- Commit:
ef8ec60674275af0116b26e9c02ab4f4bd7bcd72
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent a race where 'gotadmin cleanup' deletes concurrently created objects
- Commit:
1124fe406f09a7d5d995da60e6251e3440226d40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle pack index files which lack a corresponding pack file
ok millert
- Commit:
b3d68e7f99c78cbcf672100fb14310e4b4f18482
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement 'gotadmin cleanup'
- Commit:
05118f5ae5dbf7f5e714baec9417e4192659d06a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement gotadmin pack, indexpack, and listpack commands