summaryrefslogtreecommitdiff
path: root/oidmap.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2019-12-13 08:07:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-13 12:37:14 -0800
commit0ecd9d27fc3b38c19cf75d7cad98d0120adb7383 (patch)
treec75b12571337bcb37c0fabd3a03413653247631a /oidmap.c
parentbuilt-in app -p: allow selecting a mode change as a "hunk" (diff)
downloadtgif-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 'oidmap.c')
0 files changed, 0 insertions, 0 deletions