mirror of
https://seed.radicle.dev/rad:z3trNYnLWS11cJWC6BbxDs5niGo82.git
synced 2026-10-18 19:10:39 +08:00
RIP 3: correct broken anchor references
This commit is contained in:
committed by
Lorenz Leutgeb
parent
42f20903f0
commit
7e993a9bec
@@ -265,7 +265,7 @@ specify the namespace that is being used for the operation. This can be
|
||||
achieved using `git --namespace=<nid>` or `GIT_NAMESPACE=<nid> git`.
|
||||
Unfortunately, this is somewhat cumbersome for the user and does not prevent
|
||||
pushing to namespaces belonging to a non-local peer. This is remedied in
|
||||
[Remote Helper](#Remote-Helper).
|
||||
[Remote Helper](#remote-helper).
|
||||
|
||||
### Example
|
||||
|
||||
@@ -286,14 +286,14 @@ namespace, a configuration like the following can be used:
|
||||
In the above configuration, `git pull rad` would pull the canonical references
|
||||
while `git push rad` would push to the local user's namespace.
|
||||
|
||||
For a more thorough example, see the [Appendix](#Appendix).
|
||||
For a more thorough example, see the [Appendix](#appendix).
|
||||
|
||||
### Remote Helper
|
||||
|
||||
The remote helper is what allows Git to interpret URLs with the `rad://`
|
||||
scheme.
|
||||
|
||||
As mentioned in the [Working Copy](#Working-Copy) section, there is currently
|
||||
As mentioned in the [Working Copy](#working-copy) section, there is currently
|
||||
no way to configure a Git remote to be aware of additional logic, such as the
|
||||
appropriate `refs/namespaces` to use (to avoid having to use `--namespace`) or
|
||||
to prevent pushing to other peers' namespaces.
|
||||
@@ -318,7 +318,7 @@ is specified in the URL, as no authorization is required to fetch.
|
||||
|
||||
Future Work
|
||||
-----------
|
||||
You may have noticed that in this [layout](#Layout) the top-level namespace
|
||||
You may have noticed that in this [layout](#layout) the top-level namespace
|
||||
is left for canonical references. The definition and verification of canonicity
|
||||
is left for a future RIP.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user