All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [U-Boot 1/3] spl: common: Properly ignore spl/Makefile in .gitignore
@ 2014-01-10 13:02 Dan Murphy
  2014-01-10 13:02 ` [U-Boot] [U-Boot 2/3] spl: common: Move FAT funcs to a common file Dan Murphy
  2014-01-10 13:02 ` [U-Boot] [U-Boot 3/3] spl: common: Support for USB MSD FAT image loading Dan Murphy
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Murphy @ 2014-01-10 13:02 UTC (permalink / raw)
  To: u-boot

The spl directory is ignored by git as these objects are created
during spl creation.  The only file not created is the Makefile.

This file can be modified and checked in via git.

Due to the order of rule precedence having the whole directory
ignored first then indicating not to ignore the Makefile is not correct
the message to force adding the Makefile is still shown.

So reorder the .gitignore for the Makefile and indicate that the Makefile
does not need to be ignored first and then indicate everything else in spl
should be ignored after wards.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
 .gitignore |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 3b14c25..7f006c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,8 +57,8 @@
 /errlog
 /reloc_off
 
-/spl/
 !/spl/Makefile
+/spl/*
 /tpl/
 
 /include/generated/
-- 
1.7.9.5

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

end of thread, other threads:[~2014-01-13 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-10 13:02 [U-Boot] [U-Boot 1/3] spl: common: Properly ignore spl/Makefile in .gitignore Dan Murphy
2014-01-10 13:02 ` [U-Boot] [U-Boot 2/3] spl: common: Move FAT funcs to a common file Dan Murphy
2014-01-10 13:02 ` [U-Boot] [U-Boot 3/3] spl: common: Support for USB MSD FAT image loading Dan Murphy
2014-01-13 13:50   ` Dan Murphy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.