Skip to contentSkip to conversation

Add missing file in gitignore and comments

PATCH New Jean-Christophe PLAGNIOL-VILLARD 2 participants 2 messages Dec 8, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing file in gitignore and comments

.gitignore +32 -1
index 67fed08..a7fd79b 100644
@@ -1,13 +1,44 @@
+#
+# NOTE! Don't add files that are generated in specific
+# subdirectories here. Add them in the ".gitignore" file
+# in that subdirectory instead.
+#
+# Normal rules
+#
+
 *.orig
 *.a
 *.o
-*.depend
+
+#
+# Top-level generic files
+#
+
 System.map
 /u-boot
 /u-boot.map
 /u-boot.bin
 /u-boot.srec
+!.gitignore
+
+#
+# Generated files
+#
+
+*.depend
 /LOG
 /errlog
 /reloc_off
 
+# stgit generated dirs
+patches-*
+
+# quilt's files
+patches
+series
+
+# cscope files
+cscope.*
+
+*.orig
+*.rej
include/.gitignore +1 -0
index d8fda80..ab7d4c7 100644
@@ -1,3 +1,4 @@
+/autoconf.mk*
 /asm
 /asm-ppc/arch
 /bmp_logo.h
Signature · 1 line
1.5.3.2
#1 lore raw

PATCH 1/1 Add missing file in gitignore and comments

Good idea; comments below.

Cheers,
g.

Quoted 1 line · Jean-Christophe PLAGNIOL-VILLARD

You should have a comment in your patch description that states where these rules came from (the Linux source tree's .gitignore files).

Quoted 14 lines
.gitignore +8 -0
index 67fed08..a7fd79b 100644
@@ -1,13 +1,44 @@
+#
+# NOTE! Don't add files that are generated in specific
+# subdirectories here. Add them in the ".gitignore" file
+# in that subdirectory instead.
+#
+# Normal rules
+#
+

.gitignore line 17

Quoted 10 lines
.gitignore +5 -1
 *.orig
 *.a
 *.o
-*.depend
+
+#
+# Top-level generic files
+#
+
 System.map

/System.map

.gitignore line 22

Quoted 5 lines
.gitignore +1 -0
 /u-boot
 /u-boot.map
 /u-boot.bin
 /u-boot.srec
+!.gitignore

There is no '.*' rule, so this rule is unneeded.

Quoted 46 lines
.gitignore +18 -0
+
+#
+# Generated files
+#
+
+*.depend
 /LOG
 /errlog
 /reloc_off
 
+# stgit generated dirs
+patches-*
+
+# quilt's files
+patches
+series
+
+# cscope files
+cscope.*
+
+*.orig
+*.rej
include/.gitignore +1 -1
index d8fda80..ab7d4c7 100644
@@ -1,3 +1,4 @@
+/autoconf.mk*
 /asm
 /asm-ppc/arch
 /bmp_logo.h
--

1.5.3.2

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Signature · 4 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195