Re: [PATCH] Update .gitignore

Filipe Brandenburger <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <CADU+-uA0VzqFHiYotUmk=k1oH3-v7N6b4dHnfJ=BGkt+eFZiLQ@mail.gmail.com>
Hi Ben,

On Fri, May 15, 2015 at 3:28 AM, Ben Elliston <[email protected]> wrote:
> On Thu, May 14, 2015 at 11:43:21PM -0700, Filipe Brandenburger wrote:
>> Tested by running `./configure --enable-maintainer-mode' and then
>> the sequence `make && make check && make distcheck' and confirming
>> that the `git status' output did not show any untracked files.
>
> I don't like ignoring too much stuff with .gitignore.  The reason
> you're having this problem is that you're building in the source
> directory.  Don't Do That. :)  Use a separate build directory.

Ok, that's fair... but in that case, I think you would want to enforce
(or strongly suggest) it, so I sent you another patch set that uses
AX_ENABLE_BUILDDIR to store build artifacts on a build/ subdirectory
if an in-tree build is attempted.

Regardless of the solution you pick, I think keeping .gitignore up to
date is important to prevent mistakes when working with the git tree.

Let me know what you think.

Cheers,
Filipe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.