diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-12-13 08:07:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-13 12:37:14 -0800 |
commit | 0ecd9d27fc3b38c19cf75d7cad98d0120adb7383 (patch) | |
tree | c75b12571337bcb37c0fabd3a03413653247631a /t/t3701-add-interactive.sh | |
parent | built-in app -p: allow selecting a mode change as a "hunk" (diff) | |
download | tgif-0ecd9d27fc3b38c19cf75d7cad98d0120adb7383.tar.xz |
built-in add -p: show different prompts for mode changes and deletions
Just like the Perl version, we now helpfully ask the user whether they
want to stage a mode change, or a deletion.
Note that we define the prompts in an array, in preparation for a later
patch that changes those prompts to yet different versions for `git
reset -p`, `git stash -p` and `git checkout -p` (which all call the `git
add -p` machinery to do the actual work).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3701-add-interactive.sh')
0 files changed, 0 insertions, 0 deletions