URI Scheme for git object ids?
- From
- Ed Warnicke <hagbard@gmail.com>
- Date
- Mar 1, 2022, 17:35 UTC
- Message-ID
- <CAFVSqg1arVNwWMANwR6CDP++5hXAEW1a_ajekNe+TXNpSSZFPA@mail.gmail.com>
Has there been any discussion of how one might represent a git object id as a urn or uri?
It's clear that 'git:' is registered with IANA as a URI prefix for locations of git repos.
I was wondering if there was any existing use of something like:
'gitoid:${type}:${hash type}:${hash of git object}' ?So for example:
gitoid:blob:sha1:261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64
which could be used to communicate generic git object ids.
Ed