@@ -25,8 +25,8 @@ For example in the following scenario a `git repack -d` will be executed:
...
@@ -25,8 +25,8 @@ For example in the following scenario a `git repack -d` will be executed:
- Git GC period = `200`
- Git GC period = `200`
- Full repack period = `50`
- Full repack period = `50`
When the `pushes_since_gc` value is 50 a `repack -A -d --pack-kept-objects`will run, similarly when
When the `pushes_since_gc` value is 50 a `repack -A -d --pack-kept-objects`runs, similarly when
the `pushes_since_gc` value is 200 a `git gc`will be run.
the `pushes_since_gc` value is 200 a `git gc`runs.
-`git gc` ([man page](https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-gc.html)) runs a number of housekeeping tasks,
-`git gc` ([man page](https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-gc.html)) runs a number of housekeeping tasks,
such as compressing file revisions (to reduce disk space and increase performance)
such as compressing file revisions (to reduce disk space and increase performance)
...
@@ -34,7 +34,7 @@ the `pushes_since_gc` value is 200 a `git gc` will be run.
...
@@ -34,7 +34,7 @@ the `pushes_since_gc` value is 200 a `git gc` will be run.
`git add`.
`git add`.
-`git repack` ([man page](https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-repack.html)) re-organize existing packs into a single, more efficient pack.
-`git repack` ([man page](https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-repack.html)) re-organize existing packs into a single, more efficient pack.
Housekeeping will also [remove unreferenced LFS files](../raketasks/cleanup.md#remove-unreferenced-lfs-files)
Housekeeping also [removes unreferenced LFS files](../raketasks/cleanup.md#remove-unreferenced-lfs-files)
from your project on the same schedule as the `git gc` operation, freeing up storage space for your project.
from your project on the same schedule as the `git gc` operation, freeing up storage space for your project.
You can find this option under your project's **Settings > General > Advanced**.
You can find this option under your project's **Settings > General > Advanced**.
...
@@ -56,4 +56,4 @@ This is the current call stack by which it is invoked:
...
@@ -56,4 +56,4 @@ This is the current call stack by which it is invoked:
1.`Gitaly::FetchIntoObjectPoolRequest`
1.`Gitaly::FetchIntoObjectPoolRequest`
To manually invoke it from a Rails console, if needed, you can call `project.pool_repository.object_pool.fetch`.
To manually invoke it from a Rails console, if needed, you can call `project.pool_repository.object_pool.fetch`.
This is a potentially long-running task, though Gitaly will timeout in about 8 hours.
This is a potentially long-running task, though Gitaly times out in about 8 hours.