Context: I downloaded a file (Audirvana 0.7.1.zip) from code.google to my Macbook Pro (Mac OS X 10.6.6).
I wanted to verify the checksum, which for that particular f
Git stores objects as [Object Type, Object Length, delimeter (\0), Content] In your case:
$ echo "A" | git hash-object --stdin
f70f10e4db19068f79bc43844b49f3eece45c4e8
Try to calculate hash as:
$ echo -e "blob 2\0A" | shasum
f70f10e4db19068f79bc43844b49f3eece45c4e8 -
Note using -e (for bash shell) and adjusting length for newline.