{"thread":{"id":"41638","subject":"How to include just some subdirectory excluding all envelop tree","startedAt":"2016-03-07T19:01:52Z","lastAt":"2016-03-07T21:14:07Z","messageCount":3,"participants":["Olga Pshenichnikova","Kevin Daudt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"280329","messageId":"56DDD020.2050101@ip-5.ru","threadId":"41638","inReplyTo":null,"subject":"How to include just some subdirectory excluding all envelop tree","fromName":"Olga Pshenichnikova","fromEmail":"olga@ip-5.ru","sentAt":"2016-03-07T19:01:52Z","receivedAt":"2016-03-07T19:01:52Z","isPatch":false,"sender":{"key":"olga@ip-5.ru","avatar":null},"body":"I have some tree structure:\n\n/a\n/a/a\n/a/b\n..\n/a/z\n/b\n.. (thousands of folders)\n/z\n\nHow can I control just /a/a folder?\nWhat exclude file should be?\n\nThe way we use now is:\n\n/a/*\n/b/\n.. (thousands of folders)\n/z/\n!/a/a\n\nBut it is very not nice looking and hard for maintenance...\n"},{"id":"280334","messageId":"20160307210608.GA29312@ikke.info","threadId":"41638","inReplyTo":"56DDD020.2050101@ip-5.ru","subject":"Re: How to include just some subdirectory excluding all envelop tree","fromName":"Kevin Daudt","fromEmail":"me@ikke.info","sentAt":"2016-03-07T21:06:09Z","receivedAt":"2016-03-07T21:06:09Z","isPatch":false,"sender":{"key":"me@ikke.info","avatar":"https://avatars.githubusercontent.com/u/135698?v=4"},"body":"On Mon, Mar 07, 2016 at 10:01:52PM +0300, Olga Pshenichnikova wrote:\n> I have some tree structure:\n> \n> /a\n> /a/a\n> /a/b\n> ..\n> /a/z\n> /b\n> .. (thousands of folders)\n> /z\n> \n> How can I control just /a/a folder?\n> What exclude file should be?\n> \n> The way we use now is:\n> \n> /a/*\n> /b/\n> .. (thousands of folders)\n> /z/\n> !/a/a\n> \n> But it is very not nice looking and hard for maintenance...\n\nDon't know your usecase, but isn't it easier to just create the repository\nin /a/a? Then you won't have to exlude anything.\n\nIf you must, you can just use something like:\n\n *\n !/a\n /a/*\n !/a/a\n"},{"id":"280336","messageId":"56DDEF1F.7040604@ip-5.ru","threadId":"41638","inReplyTo":"20160307210608.GA29312@ikke.info","subject":"Re: How to include just some subdirectory excluding all envelop tree","fromName":"Olga Pshenichnikova","fromEmail":"olga@ip-5.ru","sentAt":"2016-03-07T21:14:07Z","receivedAt":"2016-03-07T21:14:07Z","isPatch":false,"sender":{"key":"olga@ip-5.ru","avatar":null},"body":"Thank you very much!\nThe exclamation mark solves my problem.\nI can not create repository inside /a, because I need control /b also )\n\nOn 03/08/2016 12:06 AM, Kevin Daudt wrote:\n> On Mon, Mar 07, 2016 at 10:01:52PM +0300, Olga Pshenichnikova wrote:\n>> I have some tree structure:\n>>\n>> /a\n>> /a/a\n>> /a/b\n>> ..\n>> /a/z\n>> /b\n>> .. (thousands of folders)\n>> /z\n>>\n>> How can I control just /a/a folder?\n>> What exclude file should be?\n>>\n>> The way we use now is:\n>>\n>> /a/*\n>> /b/\n>> .. (thousands of folders)\n>> /z/\n>> !/a/a\n>>\n>> But it is very not nice looking and hard for maintenance...\n> Don't know your usecase, but isn't it easier to just create the repository\n> in /a/a? Then you won't have to exlude anything.\n>\n> If you must, you can just use something like:\n>\n>   *\n>   !/a\n>   /a/*\n>   !/a/a\n"}]}