summaryrefslogtreecommitdiff
path: root/ctype.c
diff options
context:
space:
mode:
authorLibravatar Phillip Wood <phillip.wood@dunelm.org.uk>2018-02-13 10:32:40 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-13 13:01:56 -0800
commit88f6ffc1c256ef241cbed33dabbdd23c1a7ac6a9 (patch)
tree429a00b5acdcffdaa341133c97c55a88ac0b6815 /ctype.c
parentadd -p: only display help for active keys (diff)
downloadtgif-88f6ffc1c256ef241cbed33dabbdd23c1a7ac6a9.tar.xz
add -p: only bind search key if there's more than one hunk
If there is only a single hunk then disable searching as there is nothing to search for. Also print a specific error message if the user tries to search with '/' when there's only a single hunk rather than just listing the key bindings. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ctype.c')
0 files changed, 0 insertions, 0 deletions