From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:3d88:: with SMTP id n130mr7037258itn.6.1549091046515; Fri, 01 Feb 2019 23:04:06 -0800 (PST) X-Received: by 2002:a9d:da3:: with SMTP id 32mr285839ots.3.1549091046266; Fri, 01 Feb 2019 23:04:06 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!k10no378792itk.0!news-out.google.com!v71ni529ita.0!nntp.google.com!k10no378790itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 1 Feb 2019 23:04:05 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.168.19.89; posting-account=O_NgcgoAAABs6pgCjroQBmOBL5ZZGPUc NNTP-Posting-Host: 85.168.19.89 References: <987a6ff2-32d0-45a0-b90a-be9fbf1ff47b@googlegroups.com> <62cfed2a-f9b8-4df4-be2f-af3b9343cc66@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0ef597a7-fa33-4835-8c69-11d0cfae3caa@googlegroups.com> Subject: Re: Yet another gnat bug From: George Shapovalov Injection-Date: Sat, 02 Feb 2019 07:04:06 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55430 Date: 2019-02-01T23:04:05-08:00 List-Id: On Saturday, February 2, 2019 at 3:00:41 AM UTC+1, Jere wrote: > That's it, just 3 lines to say ignore everything in this directory, every= thing in any subdirectories, but don't ignore me. Git will then add this .= gitignore to your tracked files, securing the obj directory. Thanks! I was looking how to ignore subdir but not its contents (so I only keep one= .gitignore around instead of many), but it seems git, with all its bells a= nd whistles does not have a simple syntax for a common use case (or at leas= t I did not find in a short time I looked). A pity. Thanks for the suggesti= on, this is another way to go about it :). Now the github code has been updated to retain the dirs but ignore the buil= d files. So that mkdir command should no longer be necessary..