commit IDs in changelog messsages (was: Introductory mail)

martin f krafft madduck at debian.org
Fri Nov 14 06:48:04 UTC 2008


also sprach James Westby <jw+debian at jameswestby.net> [2008.11.13.1611 +0100]:
> The short ID may be unambiguous when you create the entry, but
> it's not future proof. The chances of a collision increase over
> time. You could disambiguate collisions by walking the history
> from the root and finding the first matching commit, but that's
> in-efficient, why not record it at the time, as you know exactly
> what the full name is.

Sure. If the commit ID is at the end, or even on a line by itself,
it could be 40 bytes. I just wouldn't want 40 bytes at the start of
the commit message.

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"the vast majority of our imports come from outside the country."  
                                                      - george w. bush
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20081114/d90c39b3/attachment.pgp 


More information about the vcs-pkg-discuss mailing list