git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* easy way to demonstrate length of colliding SHA-1 prefixes?
@ 2018-12-02 11:50 Robert P. J. Day
  2018-12-02 13:23 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2018-12-02 11:50 UTC (permalink / raw)
  To: Git Mailing list


  as part of an upcoming git class i'm delivering, i thought it would
be amusing to demonstrate the maximum length of colliding SHA-1
prefixes in a repository (in my case, i use the linux kernel git repo
for most of my examples).

  is there a way to display the objects in the object database that
clash in the longest object name SHA-1 prefix; i mean, short of
manually listing all object names, running that through cut and sort
and uniq and ... you get the idea.

  is there a cute way to do that? thanks.

rday

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-03 22:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-02 11:50 easy way to demonstrate length of colliding SHA-1 prefixes? Robert P. J. Day
2018-12-02 13:23 ` Ævar Arnfjörð Bjarmason
2018-12-02 16:24   ` Robert P. J. Day
2018-12-03 22:30   ` Matthew DeVore
2018-12-03 22:57     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).