From: Jason Wessel <jason.wessel@windriver.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>,
Koen Kooi <koen@dominion.thruhere.net>
Subject: Re: [PATCH] .gitignore: add /bitbake to the ignore list for external distributions
Date: Wed, 9 May 2012 09:15:37 -0500 [thread overview]
Message-ID: <4FAA7C09.7000404@windriver.com> (raw)
In-Reply-To: <056CEBF9-AB73-43AB-ABFF-C511347BB8B3@dominion.thruhere.net>
On 05/09/2012 08:58 AM, Koen Kooi wrote:
>
> Op 9 mei 2012, om 15:46 heeft Jason Wessel het volgende geschreven:
>
>> External distributions based on the oe-core will typically include
>> bitbake in the top level directory.
>
> Really?
>
Certainly I cannot speak for everyone, but I would like to "attempt" establish some kind of standard and this forum is probably the best place to discuss it. We would like to be able to assemble pristine git controlled pieces that comprise what you find in the Yocto Project. I believe that Richard Purdie and Jeff Polk discussed this in a different forum and I was trying to "clean up" the assembly so to speak.
>>
>> diff --git a/.gitignore b/.gitignore
>> index 04e36c5..366151c 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -1,3 +1,4 @@
>> +/bitbake
>
> Provided we want bitbake in here, shouldn't it be 'bitbake' to match the rest of the file?
According to the git documentation, "man gitignore", you want the slash for the following reason:
--- excerpt from man page ---
· If the pattern does not contain a slash /, git treats it as a shell
glob pattern and checks for a match against the pathname relative
to the location of the .gitignore file (relative to the toplevel of
the work tree if not from a .gitignore file).
-----------------------------
In theory there should not be a reason we need to use a pattern match.
Cheers,
Jason.
next prev parent reply other threads:[~2012-05-09 14:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 13:46 [PATCH] .gitignore: add /bitbake to the ignore list for external distributions Jason Wessel
2012-05-09 13:58 ` Koen Kooi
2012-05-09 14:07 ` Marko Lindqvist
2012-05-09 16:10 ` Philip Balister
2012-05-09 16:14 ` Jason Wessel
2012-05-10 5:26 ` Khem Raj
2012-05-09 14:15 ` Jason Wessel [this message]
2012-05-09 14:21 ` Phil Blundell
2012-05-09 14:45 ` Jason Wessel
2012-05-09 15:00 ` Koen Kooi
2012-05-09 15:54 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FAA7C09.7000404@windriver.com \
--to=jason.wessel@windriver.com \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox