Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Remove git_to_hash function
[gitweb.git]
/
blame.c
diff --git
a/blame.c
b/blame.c
index 5a8af726230611ff72de545bd013224895093a4b..8968046b0045633e6046c3126978819e9910a5f2 100644
(file)
--- a/
blame.c
+++ b/
blame.c
@@
-165,7
+165,7
@@
static int get_blob_sha1(struct tree *t, const char *pathname,
blame_file = pathname;
pathspec[0] = pathname;
pathspec[1] = NULL;
-
memset(blob_sha1, 0, sizeof(blob_sha1)
);
+
hashclr(blob_sha1
);
read_tree_recursive(t, "", 0, 0, pathspec, get_blob_sha1_internal);
for (i = 0; i < 20; i++) {