2016-02-15から1日間の記事一覧

git の sha1_to_hex のやつ

すこし調べた。Linus が普通に Mailing List で明言していた。 Nothing magical, it's just "rounded up from 40 + NUL character". 単に、40バイト+NUL文字用の1バイトで切り上げて50バイトらしい。が、masterのやつを見たら全然違うので、もう少し歴史を…