aboutsummaryrefslogtreecommitdiff
path: root/sha1-lookup.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-08-22 19:12:42 -0400
committerJunio C Hamano <gitster@pobox.com>2013-08-22 16:39:46 -0700
commit54c93cb4afc932ab125a59464bb52e04f9c36575 (patch)
treee24ef0732149477457bfad763089b90ece8adf86 /sha1-lookup.c
parenta3bc3d070cacf07dbe11b4bfec57554c8bbf1957 (diff)
downloadgit-54c93cb4afc932ab125a59464bb52e04f9c36575.tar.gz
git-54c93cb4afc932ab125a59464bb52e04f9c36575.tar.xz
test-sha1: add a binary output mode
The test-sha1 helper program will run our internal sha1 routines over its input and output the 40-byte hex sha1. Sometimes, however, it is useful to have the binary 20-byte sha1 (and it's a pain to convert back in the shell). Let's add a "-b" option to output the binary version. Signed-off-by: Jeff King <peff@peff.net> Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1-lookup.c')
0 files changed, 0 insertions, 0 deletions