mirror of
https://github.com/nostr-protocol/nips.git
synced 2026-07-22 07:48:25 +00:00
NIP-34: remove unused refs tag extension (#2325)
Co-authored-by: fiatjaf <fiatjaf@gmail.com>
This commit is contained in:
10
34.md
10
34.md
@@ -76,16 +76,6 @@ An optional source of truth for the state of branches and tags in a repository.
|
||||
|
||||
The `refs` tag may appear multiple times, or none.
|
||||
|
||||
The `refs` tag can be optionally extended to enable clients to identify how many commits ahead a ref is:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"tags": [
|
||||
["refs/<heads|tags>/<branch-or-tag-name>", "<commit-id>", "<shorthand-parent-commit-id>", "<shorthand-grandparent>", ...],
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Patches and Pull Requests (PRs)
|
||||
|
||||
Patches and PRs can be sent by anyone to any repository. Patches and PRs to a specific repository SHOULD be sent to the relays specified in that repository's announcement event's `"relays"` tag. Patch and PR events SHOULD include an `a` tag pointing to that repository's announcement address.
|
||||
|
||||
Reference in New Issue
Block a user