Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #13740

Re: add generated files to .gitignore

From don fong <dfong@dfong.com>
Newsgroups gnu.bash.bug
Subject Re: add generated files to .gitignore
Date 2018-02-24 12:36 -0800
Message-ID <mailman.9690.1519504601.27995.bug-bash@gnu.org> (permalink)
References <CAHQakpXFgpd3vs6=UsvyjJzos-WdLhyo=ZaHLM6neWWq=T9zcw@mail.gmail.com> <6c96a9b3-7fc3-8145-99cc-c14f523cce48@case.edu> <cd6ec48b-86d5-be51-710b-9d4dc7f2f3b2@redhat.com>

Show all headers | View raw


Eric, thanks for the tip.

my feeling is that regardless of whether these files are pushed, they
clutter up the "git status" listing after i've done a build.



On Sat, Feb 24, 2018 at 11:28 AM, Eric Blake <eblake@redhat.com> wrote:
> On 02/24/2018 01:26 PM, Chet Ramey wrote:
>>
>> On 2/24/18 1:46 AM, don fong wrote:
>>>
>>> based on my experience creating one patch, running "make" and "make
>>> test", i found that "git status" was reporting a lot of generated and
>>> built files that i think should be ignored.
>>
>>
>> Those files aren't ever pushed to the bash git repositories (master,
>> devel).
>
>
> If Chet doesn't want to patch the primary bash.git to ignore them for
> everybody in .gitignore, you can still patch your downstream repo to ignore
> them locally by instead adding those exclusions to .git/info/exclude.
>
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc.           +1-919-301-3266
> Virtualization:  qemu.org | libvirt.org

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: add generated files to .gitignore don fong <dfong@dfong.com> - 2018-02-24 12:36 -0800

csiph-web