add -i: show progress counter in the prompt
Report the current hunk count and total number of hunks for the current file in the prompt. Also adjust the expected output in some tests to match. Signed-off-by: Kunal Tyagi <tyagi.kunal@live.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
bc12974a89
commit
8085050ab4
@ -1541,7 +1541,7 @@ sub patch_update_file {
|
||||
for (@{$hunk[$ix]{DISPLAY}}) {
|
||||
print;
|
||||
}
|
||||
print colored $prompt_color,
|
||||
print colored $prompt_color, "(", ($ix+1), "/$num) ",
|
||||
sprintf(__($patch_update_prompt_modes{$patch_mode}{$hunk[$ix]{TYPE}}), $other);
|
||||
|
||||
my $line = prompt_single_character;
|
||||
|
Reference in New Issue
Block a user