author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 14 Oct 2006 10:45:36 +0000 (12:45 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 14 Oct 2006 18:49:52 +0000 (11:49 -0700) | ||
commit | abdc3fc84216a9334f40f3b7ce13e20a825697d0 | |
tree | 05a066dcb1ff662962794be159f23ca05714aa2a | tree | snapshot |
parent | ce91fc6eb9c4aefc73f845fc7104f332b2b308d2 | commit | diff |
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: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c | diff | blob | history | |
cache-tree.c | diff | blob | history | |
cache.h | diff | blob | history | |
merge-recursive.c | diff | blob | history | |
sha1_file.c | diff | blob | history |