Re: Ignore every file except XX*

2020-06-12 Thread Daniel Sahlberg
> > Care to move this over to dev@ with a patch? > Will do, it might take a few days. Thanks to the other users for their suggestions but I don't think they'll be general enough for my use case. / Daniel

Re: Ignore every file except XX*

2020-06-12 Thread Matt Simmons
It would see the contents of the commit, though, and if the commit included files not starting with XX, it could abort the commit, unless I'm misunderstanding something here? On Fri, Jun 12, 2020 at 5:00 AM Branko Čibej wrote: > On 12.06.2020 08:24, Matt Simmons wrote: > > Have you considered a

Re: Ignore every file except XX*

2020-06-12 Thread Daniel Shahaf
Branko Čibej wrote on Thu, 11 Jun 2020 09:42 +00:00: > On 11.06.2020 10:46, Daniel Sahlberg wrote: > > Hi, > > > > Not sure if this belongs in users or in dev so I follow the guidelines > > and post here first. > > > > I would like to svn:ignore every file (in a certain path) except files > > start

Re: Ignore every file except XX*

2020-06-12 Thread Branko Čibej
On 12.06.2020 08:24, Matt Simmons wrote: > Have you considered a pre-commit hook to deny anything not matching > your rule? A pre-commit hook doesn't see the contents of the working copy, it's completely unsuitable for this use case. -- Brane > On Thu, Jun 11, 2020 at 11:21 PM Branko Čibej