author | Ciaran McCreesh <ciaran.mccreesh@googlemail.com> | |
Mon, 14 Jul 2008 18:29:37 +0000 (19:29 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 2 Aug 2008 06:26:40 +0000 (23:26 -0700) | ||
commit | 69c231f4732e1373f7872dde6dc50ffe62673865 | |
tree | 1efa2c6775b46ef0fcd5c85a5f9bc84fd4874069 | tree | snapshot |
parent | 1ceb95c8041cad1c25c73fd08e8c0c7ee28cf704 | commit | diff |
Make git-add -i accept ranges like 7-
git-add -i ranges expect number-number. But for the supremely lazy, typing in
that second number when selecting "from patch 7 to the end" is wasted effort.
So treat an empty second number in a range as "until the last item".
Signed-off-by: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add -i ranges expect number-number. But for the supremely lazy, typing in
that second number when selecting "from patch 7 to the end" is wasted effort.
So treat an empty second number in a range as "until the last item".
Signed-off-by: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt | diff | blob | history | |
git-add--interactive.perl | diff | blob | history |