diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-10 11:45:24 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-10 11:55:46 +0000 |
| commit | 8d8c21d05e4d8d7af30a96704a5919efc07010dc (patch) | |
| tree | 34d80870dc29b56b54959c4a0f96f54f9085f194 /git_hooks/pre-push | |
| parent | 8bd0f64bfc1d8348aaac11c9882e6211599df320 (diff) | |
feat(nostr_url): improve nip05 git cache format
store all nip05s in a single git config item called "nostr.nip05"
using the `<nip05>:<hex-public-key>` format with multiple values
comma seperated.
git config is suposed to be human readable so it consideration was
given to storing the npub instead of hex but nip05 generally uses hex
and its rarely, if at all, going to be read directly by humans.
in the future it might be better to use git syntax for storing
multiple items but library git2 doesn't support this. it would be
trivial to do though. multiple nip05 items is an edge case so this
format is ok for now.
Diffstat (limited to 'git_hooks/pre-push')
0 files changed, 0 insertions, 0 deletions