1
Любая идея, почему git hash-object имеет разные результаты из команд shasum и openssl?Как сгенерировать sha1, подобный команде git hash-object
➜ printf test | shasum
a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 -
➜ printf test | git hash-object --stdin
30d74d258442c7c65512eafab474568dd706c430
➜ echo -n "test" | shasum
a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 -
http://stackoverflow.com/questions/552659/how-to-assign-a-git-sha1s-to-a-file-without-git/552725#552725 – Vili