diff options
| author | DanConwayDev <114834599+DanConwayDev@users.noreply.github.com> | 2026-04-25 17:42:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-25 13:42:57 -0300 |
| commit | 7092ea99b27bd00c26663c200553654bd2f87169 (patch) | |
| tree | 1ab451ff71a3bd3814ccb083ecc08d4a9b19b748 | |
| parent | f7cbaebcea5ebcae74f5e30b7a29da488019a8f1 (diff) | |
NIP-34: remove unused refs tag extension (#2325)
Co-authored-by: fiatjaf <fiatjaf@gmail.com>
| -rw-r--r-- | 34.md | 10 |
1 files changed, 0 insertions, 10 deletions
| @@ -76,16 +76,6 @@ An optional source of truth for the state of branches and tags in a repository. | |||
| 76 | 76 | ||
| 77 | The `refs` tag may appear multiple times, or none. | 77 | The `refs` tag may appear multiple times, or none. |
| 78 | 78 | ||
| 79 | The `refs` tag can be optionally extended to enable clients to identify how many commits ahead a ref is: | ||
| 80 | |||
| 81 | ```jsonc | ||
| 82 | { | ||
| 83 | "tags": [ | ||
| 84 | ["refs/<heads|tags>/<branch-or-tag-name>", "<commit-id>", "<shorthand-parent-commit-id>", "<shorthand-grandparent>", ...], | ||
| 85 | ] | ||
| 86 | } | ||
| 87 | ``` | ||
| 88 | |||
| 89 | ## Patches and Pull Requests (PRs) | 79 | ## Patches and Pull Requests (PRs) |
| 90 | 80 | ||
| 91 | 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. | 81 | 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. |