public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [RFC] adding .gitignore to toplevel
@ 2010-11-15 22:46 Mike Frysinger
  2010-11-16  7:57 ` Tristan Gingold
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2010-11-15 22:46 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

any qualms with starting a top level .gitignore ?  i'd have this be in the top 
level .gitignore, and do a few more subdir specific ones.

*.diff  
*.patch
*.orig  
*.rej

*.a
*.flt
*.gdb
*.gmo
*.info
*.la
*.lo
*.o
*.texi  
*.tmp

.deps
.libs

autom4te.cache  
config.cache
config.h
config.intl
config.log
config.status
libtool
Makefile
stamp-*
POTFILES
*-POTFILES
*/po/Makefile.in

.gdbinit
.gdb_history  

*.log
*.sum
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-15 22:46 [RFC] adding .gitignore to toplevel Mike Frysinger
@ 2010-11-16  7:57 ` Tristan Gingold
  2010-11-16 10:55   ` Mike Frysinger
  0 siblings, 1 reply; 13+ messages in thread
From: Tristan Gingold @ 2010-11-16  7:57 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: binutils


On Nov 15, 2010, at 11:44 PM, Mike Frysinger wrote:

> any qualms with starting a top level .gitignore ?  i'd have this be in the top 
> level .gitignore, and do a few more subdir specific ones.

Not sure about *.texi


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16  7:57 ` Tristan Gingold
@ 2010-11-16 10:55   ` Mike Frysinger
  2010-11-16 15:00     ` Dave Korn
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2010-11-16 10:55 UTC (permalink / raw)
  To: binutils; +Cc: Tristan Gingold

[-- Attachment #1: Type: Text/Plain, Size: 521 bytes --]

On Tuesday, November 16, 2010 02:56:58 Tristan Gingold wrote:
> On Nov 15, 2010, at 11:44 PM, Mike Frysinger wrote:
> > any qualms with starting a top level .gitignore ?  i'd have this be in
> > the top level .gitignore, and do a few more subdir specific ones.
> 
> Not sure about *.texi

you're right ... that one is wrong.  there are a lot of generated .texi files, 
but there are many that are kept in the tree.  so i'll have to use more 
specific matches.

but the general idea is OK with people ?
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16 10:55   ` Mike Frysinger
@ 2010-11-16 15:00     ` Dave Korn
  2010-11-16 15:49       ` Ian Lance Taylor
  2010-11-16 17:31       ` Mike Frysinger
  0 siblings, 2 replies; 13+ messages in thread
From: Dave Korn @ 2010-11-16 15:00 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: binutils, Tristan Gingold

On 16/11/2010 10:54, Mike Frysinger wrote:
> On Tuesday, November 16, 2010 02:56:58 Tristan Gingold wrote:
>> On Nov 15, 2010, at 11:44 PM, Mike Frysinger wrote:
>>> any qualms with starting a top level .gitignore ?  i'd have this be in
>>> the top level .gitignore, and do a few more subdir specific ones.
>> Not sure about *.texi
> 
> you're right ... that one is wrong.  there are a lot of generated .texi files, 
> but there are many that are kept in the tree.  so i'll have to use more 
> specific matches.
> 
> but the general idea is OK with people ?
> -mike

  Don't forget to add ".gitignore" to .cvsignore!  But yeah, sounds like a
no-brainer to me.

    cheers,
      DaveK

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16 15:00     ` Dave Korn
@ 2010-11-16 15:49       ` Ian Lance Taylor
  2010-11-16 16:05         ` Dave Korn
  2010-11-16 17:31       ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: Ian Lance Taylor @ 2010-11-16 15:49 UTC (permalink / raw)
  To: Dave Korn; +Cc: Mike Frysinger, binutils, Tristan Gingold

Dave Korn <dave.korn.cygwin@gmail.com> writes:

>   Don't forget to add ".gitignore" to .cvsignore!

That would be amusing but counter-productive.

Ian

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16 15:49       ` Ian Lance Taylor
@ 2010-11-16 16:05         ` Dave Korn
  0 siblings, 0 replies; 13+ messages in thread
From: Dave Korn @ 2010-11-16 16:05 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Mike Frysinger, binutils, Tristan Gingold

On 16/11/2010 15:49, Ian Lance Taylor wrote:
> Dave Korn writes:
> 
>>   Don't forget to add ".gitignore" to .cvsignore!
> 
> That would be amusing but counter-productive.
> 
> Ian

  Oh wait a minute.  Yeh.  ENOCOFFEE there.

    cheers,
      DaveK

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16 15:00     ` Dave Korn
  2010-11-16 15:49       ` Ian Lance Taylor
@ 2010-11-16 17:31       ` Mike Frysinger
  2010-11-16 21:33         ` Alan Modra
  2010-11-17 19:35         ` Mike Frysinger
  1 sibling, 2 replies; 13+ messages in thread
From: Mike Frysinger @ 2010-11-16 17:31 UTC (permalink / raw)
  To: binutils; +Cc: Dave Korn, Tristan Gingold

[-- Attachment #1: Type: Text/Plain, Size: 1511 bytes --]

On Tuesday, November 16, 2010 10:24:04 Dave Korn wrote:
> On 16/11/2010 10:54, Mike Frysinger wrote:
> > On Tuesday, November 16, 2010 02:56:58 Tristan Gingold wrote:
> >> On Nov 15, 2010, at 11:44 PM, Mike Frysinger wrote:
> >>> any qualms with starting a top level .gitignore ?  i'd have this be in
> >>> the top level .gitignore, and do a few more subdir specific ones.
> >> 
> >> Not sure about *.texi
> > 
> > you're right ... that one is wrong.  there are a lot of generated .texi
> > files, but there are many that are kept in the tree.  so i'll have to
> > use more specific matches.
> > 
> > but the general idea is OK with people ?
> 
>   Don't forget to add ".gitignore" to .cvsignore!  But yeah, sounds like a
> no-brainer to me.

i looked through .cvsignore and picked out a few more entries.  here is the 
top level file i'll commit if there's no other suggestions.

note: i know that one or two subdirs actually commit files named "config.h" to 
their tree, but that's a lot more of an exception than a rule.  so for those 
subprojects (looks like just newlib and winsup), i'd propose adding a 
.gitignore entry of "!config.h".
-mike

*.diff
*.patch
*.orig
*.rej

*~
*.a
*.flt
*.gdb
*.gmo
*.info
*.la
*.lo
*.o
*.tmp

.deps
.libs

autom4te.cache
config.cache
config.h
config.intl
config.log
config.status
dir.info
libtool
Makefile
stamp-*
POTFILES
*-POTFILES
*/po/Makefile.in

.gdbinit
.gdb_history
core

lost+found

*.log
*.sum

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16 17:31       ` Mike Frysinger
@ 2010-11-16 21:33         ` Alan Modra
  2010-11-17  5:44           ` Mike Frysinger
  2010-11-17 19:35         ` Mike Frysinger
  1 sibling, 1 reply; 13+ messages in thread
From: Alan Modra @ 2010-11-16 21:33 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: binutils, Dave Korn, Tristan Gingold

On Tue, Nov 16, 2010 at 12:29:47PM -0500, Mike Frysinger wrote:
> *.info
[snip]
> dir.info

Already covered above.  However, the main reason I'm replying is to
note that binutils/sysroff.info is not a generated file.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16 21:33         ` Alan Modra
@ 2010-11-17  5:44           ` Mike Frysinger
  2010-11-17  7:20             ` Eirik Byrkjeflot Anonsen
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2010-11-17  5:44 UTC (permalink / raw)
  To: Alan Modra; +Cc: binutils, Dave Korn, Tristan Gingold

[-- Attachment #1: Type: Text/Plain, Size: 638 bytes --]

On Tuesday, November 16, 2010 16:33:33 Alan Modra wrote:
> On Tue, Nov 16, 2010 at 12:29:47PM -0500, Mike Frysinger wrote:
> > *.info
> 
> [snip]
> 
> > dir.info
> 
> Already covered above.  However, the main reason I'm replying is to
> note that binutils/sysroff.info is not a generated file.

like "config.h", i think this is an extreme exception and not "the rule".  so 
here too i think it'll be a better idea to add "!sysroff.info" to the 
binutils/.gitignore.

i'll follow up with sub-dir specific ignores after i merge this.  considering 
cvs is the commit tree atm, i dont think this is a pressing matter.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-17  5:44           ` Mike Frysinger
@ 2010-11-17  7:20             ` Eirik Byrkjeflot Anonsen
  2010-11-17  8:21               ` Mike Frysinger
  0 siblings, 1 reply; 13+ messages in thread
From: Eirik Byrkjeflot Anonsen @ 2010-11-17  7:20 UTC (permalink / raw)
  To: binutils

Mike Frysinger <vapier@gentoo.org> writes:

> On Tuesday, November 16, 2010 16:33:33 Alan Modra wrote:
>> On Tue, Nov 16, 2010 at 12:29:47PM -0500, Mike Frysinger wrote:
>> > *.info
>> 
>> [snip]
>> 
>> > dir.info
>> 
>> Already covered above.  However, the main reason I'm replying is to
>> note that binutils/sysroff.info is not a generated file.
>
> like "config.h", i think this is an extreme exception and not "the rule".  so 
> here too i think it'll be a better idea to add "!sysroff.info" to the 
> binutils/.gitignore.

Is that even necessary?  Any files actually tracked by git won't be
ignored no matter what is in .gitignore (as far as I know...).

eirik

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-17  7:20             ` Eirik Byrkjeflot Anonsen
@ 2010-11-17  8:21               ` Mike Frysinger
  2010-11-17 18:06                 ` Ralf Wildenhues
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Frysinger @ 2010-11-17  8:21 UTC (permalink / raw)
  To: binutils; +Cc: Eirik Byrkjeflot Anonsen

[-- Attachment #1: Type: Text/Plain, Size: 919 bytes --]

On Wednesday, November 17, 2010 02:20:07 Eirik Byrkjeflot Anonsen wrote:
> Mike Frysinger writes:
> > On Tuesday, November 16, 2010 16:33:33 Alan Modra wrote:
> >> On Tue, Nov 16, 2010 at 12:29:47PM -0500, Mike Frysinger wrote:
> >> > *.info
> >> 
> >> [snip]
> >> 
> >> > dir.info
> >> 
> >> Already covered above.  However, the main reason I'm replying is to
> >> note that binutils/sysroff.info is not a generated file.
> > 
> > like "config.h", i think this is an extreme exception and not "the rule".
> >  so here too i think it'll be a better idea to add "!sysroff.info" to
> > the binutils/.gitignore.
> 
> Is that even necessary?  Any files actually tracked by git won't be
> ignored no matter what is in .gitignore (as far as I know...).

i use git to manage my commits/work.  the CVS tree only exists to actually 
push things out.  so i'd want the .gitignore files to be correct.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-17  8:21               ` Mike Frysinger
@ 2010-11-17 18:06                 ` Ralf Wildenhues
  0 siblings, 0 replies; 13+ messages in thread
From: Ralf Wildenhues @ 2010-11-17 18:06 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: binutils, Eirik Byrkjeflot Anonsen

Hello Mike,

* Mike Frysinger wrote on Wed, Nov 17, 2010 at 09:19:42AM CET:
> 
> i use git to manage my commits/work.  the CVS tree only exists to actually 
> push things out.  so i'd want the .gitignore files to be correct.

You can always use .git/info/exclude while .gitignore is not right yet.

Cheers,
Ralf

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [RFC] adding .gitignore to toplevel
  2010-11-16 17:31       ` Mike Frysinger
  2010-11-16 21:33         ` Alan Modra
@ 2010-11-17 19:35         ` Mike Frysinger
  1 sibling, 0 replies; 13+ messages in thread
From: Mike Frysinger @ 2010-11-17 19:35 UTC (permalink / raw)
  To: binutils; +Cc: Dave Korn, Tristan Gingold

[-- Attachment #1: Type: Text/Plain, Size: 603 bytes --]

On Tuesday, November 16, 2010 12:29:47 Mike Frysinger wrote:
> *.diff
> *.patch
> *.orig
> *.rej
> 
> *~
> *.a
> *.flt
> *.gdb
> *.gmo
> *.info
> *.la
> *.lo
> *.o
> *.tmp
> 
> .deps
> .libs
> 
> autom4te.cache
> config.cache
> config.h
> config.intl
> config.log
> config.status
> dir.info
> libtool
> Makefile
> stamp-*
> POTFILES
> *-POTFILES
> */po/Makefile.in
> 
> .gdbinit
> .gdb_history
> core
> 
> lost+found
> 
> *.log
> *.sum

ive committed this now minus the "dir.info" entry pointed out by Alan.  i'll 
start new threads for sub-projects.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-11-17 19:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 22:46 [RFC] adding .gitignore to toplevel Mike Frysinger
2010-11-16  7:57 ` Tristan Gingold
2010-11-16 10:55   ` Mike Frysinger
2010-11-16 15:00     ` Dave Korn
2010-11-16 15:49       ` Ian Lance Taylor
2010-11-16 16:05         ` Dave Korn
2010-11-16 17:31       ` Mike Frysinger
2010-11-16 21:33         ` Alan Modra
2010-11-17  5:44           ` Mike Frysinger
2010-11-17  7:20             ` Eirik Byrkjeflot Anonsen
2010-11-17  8:21               ` Mike Frysinger
2010-11-17 18:06                 ` Ralf Wildenhues
2010-11-17 19:35         ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).