diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2018-02-13 10:32:40 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-13 13:01:56 -0800 |
commit | 88f6ffc1c256ef241cbed33dabbdd23c1a7ac6a9 (patch) | |
tree | 429a00b5acdcffdaa341133c97c55a88ac0b6815 /t/t4135/diff-with tab.diff | |
parent | add -p: only display help for active keys (diff) | |
download | tgif-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 't/t4135/diff-with tab.diff')
0 files changed, 0 insertions, 0 deletions