Re: patch: allow shortened commits in dist-tuple

2023-11-05 Thread Stefan Hagen
Marc Espie wrote (2023-11-05 20:08 CET): > > I don't think we need to go the full 40 chars. > > It is highly unlikely people are going to use 10 hex chars > as a tag (and if they do, it's likely it's just a copy of the > commit hash) > > 10 seems like a good number. tb@ mentionned that 8 is too

patch: allow shortened commits in dist-tuple

2023-11-05 Thread Marc Espie
I don't think we need to go the full 40 chars. It is highly unlikely people are going to use 10 hex chars as a tag (and if they do, it's likely it's just a copy of the commit hash) 10 seems like a good number. tb@ mentionned that 8 is too short (we already ran into collision with 8). So 10 ? o