From: Mike Frysinger <vapier@gentoo.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org, toolchain-devel@blackfin.uclinux.org
Subject: Re: [PATCH] sim: start a gitignore
Date: Wed, 22 Dec 2010 15:36:00 -0000 [thread overview]
Message-ID: <201012221031.52085.vapier@gentoo.org> (raw)
In-Reply-To: <20101222043944.GI2596@adacore.com>
[-- Attachment #1: Type: Text/Plain, Size: 765 bytes --]
On Tuesday, December 21, 2010 23:39:44 Joel Brobecker wrote:
> > diff --git a/sim/.gitignore b/sim/.gitignore
> > new file mode 100644
> > index 0000000..1322a87
> > --- /dev/null
> > +++ b/sim/.gitignore
> > @@ -0,0 +1,7 @@
> > +/*/gentmap
> > +/*/run
> > +/*/targ-*
> > +/*/tconfig.h
> > +/*/version.c
> > +
> > +/common/cconfig.h
>
> Is this really correct?
yes
> The '*' matches any character except
> the directory separator, so I don't see how this would work unless
> the file was inside a subdirectory at root level.
the file lives at sim/.gitignore. the leading / anchors to where the
.gitignore file lives and not the actual root directory. thus /*/gentmap will
ignore sim/bfin/gentmap and sim/arm/gentmap and ...
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2010-12-22 14:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 12:33 Mike Frysinger
2010-12-22 4:40 ` Joel Brobecker
2010-12-22 15:36 ` Mike Frysinger [this message]
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=201012221031.52085.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=toolchain-devel@blackfin.uclinux.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