Skip to content
Snippets Groups Projects
Commit abdc3fc8 authored by René Scharfe's avatar René Scharfe Committed by Junio C Hamano
Browse files

Add hash_sha1_file()


Most callers of write_sha1_file_prepare() are only interested in the
resulting hash but don't care about the returned file name or the header.
This patch adds a simple wrapper named hash_sha1_file() which does just
that, and converts potential callers.

Signed-off-by: default avatarRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
parent ce91fc6e
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment