Hacker News new | ask | show | jobs
by geitir 665 days ago
Git uses SHA and then dynamically set the number of characters to use based on repository size. You could do something like this.