jb55 on Nostr: according to chatgpt: No, git-daemon does not support the allow-tip-sha1-in-want ...
according to chatgpt:
No, git-daemon does not support the allow-tip-sha1-in-want capability.
Explanation:
The allow-tip-sha1-in-want capability is part of the Git protocol v2 feature set and is relevant primarily for smart HTTP and SSH transports, which support the more flexible and modern Git protocol features. It allows a client to request a specific tip (commit SHA-1) that is not advertised by the server, as long as it is the tip of a reference.
However, git-daemon operates using the dumb protocol or a limited subset of smart protocol v0, which does not support advanced protocol v2 features, including allow-tip-sha1-in-want.
Published at
2025-06-17 19:47:57Event JSON
{
"id": "2b4f21a7988b1f4158d4dbe876f640e04192b8e396ddffb2e964b219a3dc2ba1",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1750189677,
"kind": 1,
"tags": [
[
"client",
"Damus Notedeck"
],
[
"e",
"a2364dd64bb033ca032e4248f3faf18cb2da164b5ca1cc8f0970c56f55417cf1",
"",
"root"
],
[
"e",
"7a79fdc0ae53713e9f05b81786d83489b755d0ee0875c8b94b9dc590d28d2831",
"",
"reply"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"a008def15796fba9a0d6fab04e8fd57089285d9fd505da5a83fe8aad57a3564d"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"p",
"ee9d979e7e1418a9f7472baf82dc96082a0d4251b77bcb170a6ecec93fadff64"
]
],
"content": "according to chatgpt:\n\nNo, git-daemon does not support the allow-tip-sha1-in-want capability.\n\nExplanation:\nThe allow-tip-sha1-in-want capability is part of the Git protocol v2 feature set and is relevant primarily for smart HTTP and SSH transports, which support the more flexible and modern Git protocol features. It allows a client to request a specific tip (commit SHA-1) that is not advertised by the server, as long as it is the tip of a reference.\n\nHowever, git-daemon operates using the dumb protocol or a limited subset of smart protocol v0, which does not support advanced protocol v2 features, including allow-tip-sha1-in-want.",
"sig": "b5fefd4d7cf49955243be0ebd842bd00749114786c6fd5c6e89f24e6cceb87296777d8c5164ee65d740410f04ad1fb1fe758a2501d6bce2c8419bd86ceff682b"
}