Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Use @diff_opts, default ('M'), as git-diff and git-diff-tree paramete
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index 2fc41263aee87547cd755c96bb6f7c345d4b2550..9edfa9262622c64edecfaf7b4f72a79873b8882a 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-48,7
+48,7
@@
int run_diff_files(struct rev_info *revs, int silent_on_removed)
memcpy(dpath->path, ce->name, path_len);
dpath->path[path_len] = '\0';
dpath->mode = 0;
-
memset(dpath->sha1, 0, 20
);
+
hashclr(dpath->sha1
);
memset(&(dpath->parent[0]), 0,
sizeof(struct combine_diff_parent)*5);