From: Junio C Hamano Date: Mon, 23 Nov 2015 02:08:30 GMT Subject: Re: [PATCH v2] blame: add support for --[no-]progress option Message-ID: In-Reply-To: <1448208133-29430-1-git-send-email-eantoranz@gmail.com> Edmundo Carmona Antoranz writes: > Will also affect annotate Is that a good thing? In any case, make it understandable without the title line (i.e. make it a full sentence, ending with a full stop). > + if (progress) { > + for (next = suspect->suspects; next != NULL; > + next = next->next) > + blamed_lines += next->num_lines; > + display_progress(progress, blamed_lines); > + } Is this math and the placement of the code correct? It would probably be more obvious if this hunk is in found_guilty_entry(), which is already the dedicated function in which we report about a group of lines whose ultimate origin has become clear. > @@ -2830,11 +2851,11 @@ parse_done: > > read_mailmap(&mailmap, NULL); > > + assign_blame(&sb, opt); > + > if (!incremental) > setup_pager(); > > - assign_blame(&sb, opt); > - > free(final_commit_name); > > if (incremental) Two comments. * How does this interact with incremental or porcelain blame? Shouldn't progress be turned off when these modes are in use? * Shouldn't progress be turned off if the result comes very quickly, using start_progress_delay()?