[PATCH v3 1/1] add -i: Show progress counter in the prompt

2019-09-29 Thread Kunal Tyagi via GitGitGadget
From: Kunal Tyagi Report the current hunk count and total number of hunks for the current file in the prompt Adjust the expected output in some tests to account for new data on the prompt Signed-off-by: Kunal Tyagi --- git-add--interactive.perl | 2 +- t/t3701-add-interactive.sh | 2 +- 2 fil

[PATCH v3 0/1] git-add--interactive.perl: Add progress counter in the prompt

2019-09-29 Thread Kunal Tyagi via GitGitGadget
Hi git contributors! I'm Kunal Tyagi. While I was choosing the relevant patches for a commit using the git add -p command, I found that there was no feedback regarding how many hunks from the current file had been processed and how many were left. So I decided to add a small change to the prompt w

[PATCH v2 0/1] git-add--interactive.perl: Add progress counter in the prompt

2019-09-28 Thread Kunal Tyagi via GitGitGadget
Hi git contributors! I'm Kunal Tyagi. While I was choosing the relevant patches for a commit using the git add -p command, I found that there was no feedback regarding how many hunks from the current file had been processed and how many were left. So I decided to add a small change to the prompt w

[PATCH v2 1/1] git-add--interactive.perl: Add progress counter in the prompt

2019-09-28 Thread Kunal Tyagi via GitGitGadget
From: Kunal Tyagi Adds a feedback regarding how many hunks from the current file have been processed and total number of hunks Also included: changes to the test script due to change in expected output string Change in UI: displays '(${current-hunk-id} + 1/${total-hunks-in-file})' before display

[PATCH 0/1] git-add--interactive.perl: Add progress counter in the prompt

2019-09-23 Thread Kunal Tyagi via GitGitGadget
Hi git contributors! I'm Kunal Tyagi. While I was choosing the relevant patches for a commit using the git add -p command, I found that there was no feedback regarding how many hunks from the current file had been processed and how many were left. So I decided to add a small change to the prompt w

[PATCH 1/1] git-add--interactive.perl: Add progress counter in the prompt

2019-09-23 Thread Kunal Tyagi via GitGitGadget
From: Kunal Tyagi Signed-off-by: Kunal Tyagi --- git-add--interactive.perl | 2 +- t/t3701-add-interactive.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-add--interactive.perl b/git-add--interactive.perl index c20ae9e210..3951c25a28 100755 --- a/git-add--interact