[U-Boot] [PATCH] Trivial fix to .gitignore for spl/Makefile

Ralph Siemsen ralphs at netwinder.org
Thu May 1 20:18:41 CEST 2014


Trivial fix to .gitignore for spl/Makefile

According to the gitignore man page:

"An optional prefix "!" which negates the pattern; any matching file
excluded by a previous pattern will become included again."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So the directory exclude "/spl/*" must come before the exception
for spl/Makefile otherwise it has no effect.

Signed-off-by: Ralph Siemsen <ralphs at netwinder.org>
---
Note: feel free to adjust the commit message to remove the
      gratuitous ascii art emphasis, etc.
Note2: kindly CC: me on any replies
---
 .gitignore | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index cba5eac..a6b2d1c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,8 +47,8 @@
 /errlog
 /reloc_off
 
-!/spl/Makefile
 /spl/*
+!/spl/Makefile
 /tpl/
 
 #
-- 
1.9.0



More information about the U-Boot mailing list