X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=builtin%2Fblame.c;h=67adaef4d80ee4e2fcd28755255935f0fcae6c03;hb=e3b7705207b3e9c661026e43b95cfb2f40d7e6f2;hp=bda1a787265e6d44d2ec0bec1e4dee5bf8de9c3b;hpb=d6e11a6ebb61d22349f15df790fc8fe080ad5b52;p=platform%2Fupstream%2Fgit.git diff --git a/builtin/blame.c b/builtin/blame.c index bda1a78..67adaef 100644 --- a/builtin/blame.c +++ b/builtin/blame.c @@ -488,7 +488,7 @@ static int read_ancestry(const char *graft_file) return -1; while (!strbuf_getwholeline(&buf, fp, '\n')) { /* The format is just "Commit Parent1 Parent2 ...\n" */ - struct commit_graft *graft = read_graft_line(buf.buf, buf.len); + struct commit_graft *graft = read_graft_line(&buf); if (graft) register_commit_graft(graft, 0); } @@ -925,8 +925,7 @@ parse_done: sb.found_guilty_entry = &found_guilty_entry; sb.found_guilty_entry_data = π if (show_progress) - pi.progress = start_progress_delay(_("Blaming lines"), - sb.num_lines, 50, 1); + pi.progress = start_delayed_progress(_("Blaming lines"), sb.num_lines); assign_blame(&sb, opt);