add -p: optimize line selection for short hunks
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Fri, 16 Mar 2018 10:13:46 +0000 (10:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Mar 2018 19:08:32 +0000 (12:08 -0700)
If there are fewer than ten changes in a hunk then make spaces
optional when selecting individual lines. This means that for short
hunks one can just type 1-357 to stage lines 1, 2, 3, 5 & 7.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found