On Mon, Apr 25, 2011 at 04:07:11PM -0300, Henrique de Moraes Holschuh wrote:
[...]
> Then, you use UTC date+time, that's two digits for the
> best-practice leading of "0.", plus 13 digits for YYYYMMDDTHHMM,
> which is quite precise enough most of the time.  Add two more for
> seconds, and it is almost always precise enough to identify the
> head commit in a branch
[...]

Or use seconds since the epoch (which is what I do) to get the same
precision in only 10 decimal digits, though arguably less
human-readable. For that matter, converting epoch seconds to
hexidecimal gets it down to 8 characters while still sorting
chronologically...
-- 
{ IRL(Jeremy_Stanley); WWW(http://fungi.yuggoth.org/); PGP(43495829);
WHOIS(STANL3-ARIN); SMTP(fu...@yuggoth.org); FINGER(fu...@yuggoth.org);
MUD(kin...@katarsis.mudpy.org:6669); IRC(fu...@irc.yuggoth.org#ccl);
ICQ(114362511); YAHOO(crawlingchaoslabs); AIM(dreadazathoth); }


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110425193700.gr1...@yuggoth.org

Reply via email to