summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 854b97f)
raw | patch | inline | side by side (parent: 854b97f)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 5 Nov 2006 19:47:53 +0000 (11:47 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 5 Nov 2006 19:49:56 +0000 (11:49 -0800) |
blame.c | patch | blob | history |
index 8cfd5d94c777770a2019e058f1140ecd5a5c9aa2..d0e506c02b2e2d0c8fa834ddc86c6b325ea1a8cb 100644 (file)
--- a/blame.c
+++ b/blame.c
static int num_get_patch;
static int num_commits;
static int patch_time;
+static int num_read_blob;
struct blame_diff_state {
struct xdiff_emit_state xm;
return;
info->buf = read_sha1_file(info->sha1, type, &info->size);
+ num_read_blob++;
assert(!strcmp(type, blob_type));
}
}
if (DEBUG) {
+ printf("num read blob: %d\n", num_read_blob);
printf("num get patch: %d\n", num_get_patch);
printf("num commits: %d\n", num_commits);
printf("patch time: %f\n", patch_time / 1000000.0);