Skip to contentSkip to conversation

.gitignore files

PATCH New Rodolfo Giometti 2 participants 3 messages May 30, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .gitignore files

Hello,

let me propose to use these .gitignore files in order to better read "git status" output.

Ciao,

Rodolfo

Signature · 5 lines
GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
.gitignore new file +35 -0
new file mode 100644
index 0000000..904490d
@@ -0,0 +1,35 @@
+#
+# NOTE! Don't add files that are generated in specific
+# subdirectories here. Add them in the ".gitignore" file
+# in that subdirectory instead.
+#
+# Normal rules
+#
+.*
+*.o
+*.a
+*.bin
+*.srec
+
+#
+# Top-level generic files
+#
+u-boot*
+System.map
+
+#
+# Generated include files
+#
+include/asm
+include/asm-*/arch
+include/config.mk
+include/config.h
+include/version_autogenerated.h
+
+# stgit generated dirs
+patches-*
+
+#
+# Quilt
+#
+patches
examples/.gitignore new file +4 -0
new file mode 100644
index 0000000..4c82788
@@ -0,0 +1,4 @@
+#
+# Generated files
+#
+hello_world
tools/.gitignore new file +11 -0
new file mode 100644
index 0000000..8579bac
@@ -0,0 +1,11 @@
+#
+# Generated files
+#
+crc32.c
+environment.c
+bmp_logo
+envcrc
+gen_eth_addr
+img2srec
+inca-swap-bytes
+mkimage
#1 lore raw

PATCH 1/1 .gitignore files

Quoted 3 lines · In message <[email protected]> you wrote:

let me propose to use these .gitignore files in order to better read "git status" output.

I reject this patch, like I rejected earlier similar ones. I re- commend to run "make mrproper" before running "git status".

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The management question ... is not _whether_ to build a pilot  system
and  throw  it away. You _will_ do that. The only question is whether
to plan in advance to build a throwaway, or to promise to deliver the
throwaway to customers.       - Fred Brooks, "The Mythical Man Month"
#2 lore raw

PATCH 1/1 .gitignore files

Quoted 3 lines · Wolfgang Denk

I reject this patch, like I rejected earlier similar ones. I re- commend to run "make mrproper" before running "git status".

But doing like this we erase all files obtained during compilation, so people are forced to recompile all after querying the source tree status.

I use "git status" very often in order to know which file I'm modifying, patching and so on and I don't like run "make mrproper"/"git status"/"make" due my old and _slow_ PC. Using .gitignore files I simpy do "git status"! :)

But, of course, this is only a suggestion...

Ciao,

Rodolfo

Signature · 11 lines
GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060530/bcac1a0e/attachment.pgp