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


Groups > gnu.bash.bug > #13740

Re: add generated files to .gitignore

Path csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail
From don fong <dfong@dfong.com>
Newsgroups gnu.bash.bug
Subject Re: add generated files to .gitignore
Date Sat, 24 Feb 2018 12:36:37 -0800
Lines 30
Sender dfong@dfong.org
Approved bug-bash@gnu.org
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>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1519504602 18370 208.118.235.17 (24 Feb 2018 20:36:42 GMT)
X-Complaints-To action@cs.stanford.edu
Cc chet.ramey@case.edu, "bash.bug list" <bug-bash@gnu.org>
To Eric Blake <eblake@redhat.com>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=dfong-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=M2ptcEvrryLt54e+sfiVZn6rUR5sX+vIXIJaWFkYB74=; b=LAuZDHphfzc7syO/7BFFDcwVw/8SEEhBL0g8oUrATmAOynbdZcgSJCOhV+e8Gh2N/S ydN1A3L2bxZxzHbCQz98wjM2YB9Tr6i7wtm6PL5/3EmV4wmP0lSFxJrzQzQAU6hp4aAI O8jCdnTH/KHVHMfh04zKvRbP3SiKbzFSufiuoSuoCS9HjnCE7xWw9bu1DRv7TUKjL+lZ cNl2sPtPG5osEpq6P1wAefWKwKQcQMhQHrag6qctZsMzn01nm9r/wPpOWypeuymMZl/T zdxYkPrqOT22PvLVlPcgQ8blMpTJfsnVtgrXeYqUi2eZSKHDszUtbJ0CIxUW/dBrlrgh 4Tkg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=M2ptcEvrryLt54e+sfiVZn6rUR5sX+vIXIJaWFkYB74=; b=aGJpWQtn9gWnIhbTEgzrpTj9tb79CKqQreQlluDB1udbVQRx0vXrEKs0Ob7dHvFtGV OsdFHO8LeMNxdHkXa0VH30BUSyEEOFLCIEj5APfFQKmBChWl5MaOv/xEOIvLwk4oaymY QidYHnKWB2FjucOnUrVzwlLSndi/r4IGu6z1AGoE7Nglp/7rSjMqq0iprJrGj6urHs+s SDGANeeEpmaDcUuZNlgp3CxHISyfkD78F8Q6JnZtuCyE0wt/2yTGflpaUAbv8gNqB+K7 euCjwAQPrhbbYmGbyniIaiFXEXipmhIEstjT8pwv8OyxJg0CA1mxAVoAobz3ey5mlVHj NXxA==
X-Gm-Message-State APf1xPDXZSLh6POdW9g4wdu/RYSPgOWtAwXumhb+40WKR1U1gFgDzXUu 5jWfS3QhKbJgqGsz2JVOsmj5vBoY1CCtqpEk9KWpPw==
X-Google-Smtp-Source AG47ELtEQqF0nSAEFV/lXJ2qduAlWqQB7jhMiINDxQNVwd27ib0AadGswoWK3nEjJ4S5u1txesUDS1vQpUJq/bJ0AV8=
X-Received by 10.55.18.82 with SMTP id c79mr9032527qkh.207.1519504597701; Sat, 24 Feb 2018 12:36:37 -0800 (PST)
X-Originating-IP [2600:1700:cd00:dfb0:501b:c8d4:dfd3:8153]
In-Reply-To <cd6ec48b-86d5-be51-710b-9d4dc7f2f3b2@redhat.com>
X-Google-Sender-Auth Iw_Rd771A4XJA1I0JcrQbVM_vNQ
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:400d:c09::236
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:13740

Show key headers only | 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