From: Ralph Siemsen <ralphs@netwinder.org>
Date: Thu, 1 May 2014 18:18:41 +0000 (-0400)
Subject: Trivial fix to .gitignore for spl/Makefile
X-Git-Tag: v2025.01-rc5-pxa1908~15337
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-favicon.png?a=commitdiff_plain;h=7e18a1b9586e4d992f49bcd0728a93f8828b9f98;p=u-boot.git

Trivial fix to .gitignore for spl/Makefile

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@netwinder.org>
Tested-by: Masahiro Yamada <yamada.m@jp.panasonic.com> [on git v1.7.9.5 / v1.8.3.2]
---

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