Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As in a tree that points to itself? You cannot, since a tree would have to point to its own SHA1. So this would require you to know your own tree's SHA and embed it in the tree.


Reminded me of the GIF that displays its own MD5 hash:

https://twitter.com/bascule/status/838927719534477312


So it's possible, but impractical?


I think it's possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: