On Thu, 2008-11-13 at 08:00 +0100, martin f krafft wrote:
> also sprach James Westby <[EMAIL PROTECTED]> [2008.11.12.1709 +0100]:
> > You mean 
> > 
> >    [fc5473a06be960382582ddbfb40e2a5f824be122]
> > 
> > don't you?
> 
> No, why? Short commit IDs are usually enough in Git.

Why not use [f] then?

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.

Thanks,

James


_______________________________________________
vcs-pkg-discuss mailing list
vcs-pkg-discuss@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss

Reply via email to