Issue IDs
Issue IDs
Posted Jan 17, 2025 18:49 UTC (Fri) by mathstuf (subscriber, #69389)In reply to: Issue IDs by ewen
Parent article: The many names of commit 55039832f98c
Hmm. I'm not so sure that would work either. There are different diff algorithms in git itself and one might have higher context settings for various reason (e.g., I believe Phabricator wanted "infinite" context for uploaded patches).
Posted Jan 17, 2025 20:47 UTC (Fri)
by ewen (subscriber, #4772)
[Link]
TomH pointed out elsewhere in the thread that there is an internal “git patch-id” already, in git, that might form the basis of a “hash of just the patch diff”, if the “stable” kernel could be persuaded to accept that as the ID. It’d probably require extra tooling / metadata support to store enough information to enable efficient lookup of commits by the stable “change ID hash” (eg each git tree, or user, storing a cache of “change ID hash” to “merkle tree hash” mapping for direct lookup).
Ewen
Issue IDs