diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-05-28 07:59:56 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-05-28 07:59:56 -0700 |
| commit | b4847a4477d8cf312bb6e2aef2f3291d13563d36 (patch) | |
| tree | 2ede53784417e0bbb607e3e57ae015339383e027 /Documentation | |
| parent | Merge branch 'kn/passing-leak-tests' (diff) | |
| parent | builtin/receive-pack: add option to skip connectivity check (diff) | |
| download | git-b4847a4477d8cf312bb6e2aef2f3291d13563d36.tar.gz git-b4847a4477d8cf312bb6e2aef2f3291d13563d36.zip | |
Merge branch 'jt/receive-pack-skip-connectivity-check'
"git receive-pack" optionally learns not to care about connectivity
check, which can be useful when the repository arranges to ensure
connectivity by some other means.
* jt/receive-pack-skip-connectivity-check:
builtin/receive-pack: add option to skip connectivity check
t5410: test receive-pack connectivity check
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/git-receive-pack.adoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/git-receive-pack.adoc b/Documentation/git-receive-pack.adoc index 20aca92073..0956086d61 100644 --- a/Documentation/git-receive-pack.adoc +++ b/Documentation/git-receive-pack.adoc @@ -46,6 +46,18 @@ OPTIONS `$GIT_URL/info/refs?service=git-receive-pack` requests. See `--http-backend-info-refs` in linkgit:git-upload-pack[1]. +--skip-connectivity-check:: + Bypasses the connectivity checks that validate the existence of all + objects in the transitive closure of reachable objects. This option is + intended for server operators that want to implement their own object + connectivity validation outside of Git. This is useful in such cases + where the server-side knows additional information about how Git is + being used and thus can rely on certain guarantees to more efficiently + compute object connectivity that Git itself cannot make. Usage of this + option without a reliable external mechanism to ensure full reachable + object connectivity risks corrupting the repository and should not be + used in the general case. + PRE-RECEIVE HOOK ---------------- Before any ref is updated, if $GIT_DIR/hooks/pre-receive file exists |
