From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3241 invoked by alias); 22 Dec 2010 14:32:23 -0000 Received: (qmail 3228 invoked by uid 22791); 22 Dec 2010 14:32:21 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Dec 2010 14:32:16 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B5E581B4036; Wed, 22 Dec 2010 14:32:14 +0000 (UTC) From: Mike Frysinger To: Joel Brobecker Subject: Re: [PATCH] sim: start a gitignore Date: Wed, 22 Dec 2010 15:36:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.37-rc5; KDE/4.5.2; x86_64; ; ) Cc: gdb-patches@sourceware.org, toolchain-devel@blackfin.uclinux.org References: <1292416379-24925-1-git-send-email-vapier@gentoo.org> <20101222043944.GI2596@adacore.com> In-Reply-To: <20101222043944.GI2596@adacore.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1589882.ClxsZC7lcF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201012221031.52085.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00400.txt.bz2 --nextPart1589882.ClxsZC7lcF Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 746 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 >=20 > 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=20 .gitignore file lives and not the actual root directory. thus /*/gentmap w= ill=20 ignore sim/bfin/gentmap and sim/arm/gentmap and ... -mike --nextPart1589882.ClxsZC7lcF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAABAgAGBQJNEhnoAAoJEEFjO5/oN/WBKjoP/2wPz0TQOAUsRTMGgmmL/RwJ wigQRRW3dwKacV6lZxE2kJ9VXfl9J4T2reI/c83VRs0QoZ2TDM0JG6ajCI87S5qa EUn+9/v6TUeextrKrDdoiKRMFmRLc1K0pyb+eD3DC8TXNhhrLMh8aTU0mWfQROfN T28YVo1TR67C9ItgGuktwRBhjqwR6x0+7jkEvN05C7IvONyoPqDCOJB6ori2yz2Y uNJNQB5Fa3p70KGQeixfbbeqgZEb4hY/Ha/LBApBBXMRPBzWWFAqzll/gXSgGgZc YGp1bsnukgaeZnJONVq1TZSmt28uwqCKB08HhJNbLOx1H/IRLnSekoJ6hP7WLVMZ aUHVqB5U2E/8niSU0Pm/mTAsv6hN8JjBnVMUMRUPYycebITGrySVjRhikca1mHKP 7Hxl1wCgkc06HusmnRI5DLA+1GkLcfA8q8TgzHOGsyh0VTYmI47DQeL7+TleK5xX Fzbgkfaj0hV/Z1/1+yLQUjJNEZMT2+rewCOA8qFJKXxTNi3UbaoJHpuWMa2gvvSk Nkj3ojJ+tFnHNexV5HIeP3sLxt5ZF8maOl8WgnJDW+MBx5Buc4Gw3PEpdgyZ26s3 XBYahHESEKjFUUnyXCtu12AodM+eXcNIe2/r5mfLJ8f13EVV25cs9pt3T/BqlMkK kMytAy0x0F0knEaZ7E96 =/8o5 -----END PGP SIGNATURE----- --nextPart1589882.ClxsZC7lcF--