Re: [PATCH] git add -i: allow list (un)selection by regexp

2014-12-03 Thread Junio C Hamano
Eric Sunshine writes: > On Tue, Dec 2, 2014 at 12:26 PM, Junio C Hamano wrote: >> Aarni Koskela writes: >> >>> From 9096652a71666920ae8d59dd4317d536ba974d5b Mon Sep 17 00:00:00 2001 >>> From: Aarni Koskela >>> Date: Tue, 2 Dec 2014 13:56:15 +0200 >>> Subject: [PATCH] git-add--interactive: allo

Re: [PATCH] git add -i: allow list (un)selection by regexp

2014-12-02 Thread Eric Sunshine
On Tue, Dec 2, 2014 at 12:26 PM, Junio C Hamano wrote: > Aarni Koskela writes: > >> From 9096652a71666920ae8d59dd4317d536ba974d5b Mon Sep 17 00:00:00 2001 >> From: Aarni Koskela >> Date: Tue, 2 Dec 2014 13:56:15 +0200 >> Subject: [PATCH] git-add--interactive: allow list (un)selection by regular

Re: [PATCH] git add -i: allow list (un)selection by regexp

2014-12-02 Thread Junio C Hamano
Aarni Koskela writes: > From 9096652a71666920ae8d59dd4317d536ba974d5b Mon Sep 17 00:00:00 2001 > From: Aarni Koskela > Date: Tue, 2 Dec 2014 13:56:15 +0200 > Subject: [PATCH] git-add--interactive: allow list (un)selection by regular > expression Remove the three lines from the top, move the co

RE: [PATCH] git add -i: allow list (un)selection by regexp

2014-12-02 Thread Aarni Koskela
- unselect items based on regular expression - (empty) finish selecting EOF } -- 1.9.2.msysgit.0 -Original Message- From: Junio C Hamano [mailto:gits...@pobox.com] Sent: 1. joulukuuta 2014 18:28 To: Aarni Koskela Cc: git@vger.kernel.org; a...@iki.fi Subject: Re: [PATCH] git add

Re: [PATCH] git add -i: allow list (un)selection by regexp

2014-12-01 Thread Junio C Hamano
Aarni Koskela writes: > Hello! > > This patch makes it possible to select or unselect files in `git add -i` > by regular expression instead of unique prefix only. > > The command syntax is `/foo` for selection and `-/foo` for unselection. > I don't think the syntax will conflict with any existing

[PATCH] git add -i: allow list (un)selection by regexp

2014-12-01 Thread Aarni Koskela
Hello! This patch makes it possible to select or unselect files in `git add -i` by regular expression instead of unique prefix only. The command syntax is `/foo` for selection and `-/foo` for unselection. I don't think the syntax will conflict with any existing use cases, but feel free to prove m