commit IDs in changelog messsages (was: Introductory mail)

Stefano Zacchiroli zack at debian.org
Fri Nov 14 08:35:56 UTC 2008


On Thu, Nov 13, 2008 at 10:11:15AM -0500, James Westby wrote:
> > > You mean [fc5473a06be960382582ddbfb40e2a5f824be122] don't you?
> > No, why? Short commit IDs are usually enough in Git.
> Why not use [f] then?

Well, even thought the likelihood of clashes increase trivially with
time, we are in the context of changelogs which are made of
timestamp-ed entries.

Hence it would be relatively simple, the day that a clash does occur,
to disambiguate it by choosing the commit which is closest to the
timestamp of the changelog entry referencing it. It wouldn't even be
necessary to do that always, you can be lazy and do that only upon
conflicts.

To do that you will need connectivity to the repository, but without
that the id is useless any how, and I also observe that most $DVCS
help us in this respect, because we know that the full history is
always available attached to each commit.

Am I overlooking some serious intricacy?

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20081114/ca6f33b5/attachment.pgp 


More information about the vcs-pkg-discuss mailing list