Skip to content

Commit 1bebb8f

Browse files
committed
fixup??? built-in add -i: start implementing the patch functionality in C
This is necessary as long as `kt/add-i-progress` has not made it into `maint`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 820a4ad commit 1bebb8f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

add-patch.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,10 +1362,6 @@ static int patch_update_file(struct add_p_state *s,
13621362
else
13631363
prompt_mode_type = PROMPT_HUNK;
13641364

1365-
color_fprintf(stdout, s->s.prompt_color,
1366-
"(%"PRIuMAX"/%"PRIuMAX") ",
1367-
(uintmax_t)hunk_index + 1,
1368-
(uintmax_t)file_diff->hunk_nr);
13691365
color_fprintf(stdout, s->s.prompt_color,
13701366
_(s->mode->prompt_mode[prompt_mode_type]),
13711367
s->buf.buf);

0 commit comments

Comments
 (0)