[1/2] .gitignore: sort normal pattern rules alphabetically

Message ID 1528701710-4465-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 3eb0fa4c93894fcc6afe628e44c3fd0c52bea473
Headers show
Series
  • [1/2] .gitignore: sort normal pattern rules alphabetically
Related show

Commit Message

Masahiro Yamada June 11, 2018, 7:21 a.m.
Follow Linux commit 1377dd3e2987 (".gitignore: sort normal pattern
rules alphabetically").

This would allow us to easily catch duplicated patterns if any.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 .gitignore | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

Comments

Tom Rini June 19, 2018, 6:41 p.m. | #1
On Mon, Jun 11, 2018 at 04:21:49PM +0900, Masahiro Yamada wrote:

> Follow Linux commit 1377dd3e2987 (".gitignore: sort normal pattern

> rules alphabetically").

> 

> This would allow us to easily catch duplicated patterns if any.

> 

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Applied to u-boot/master, thanks!

-- 
Tom

Patch

diff --git a/.gitignore b/.gitignore
index 9110eda..4d4c486 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,29 +3,29 @@ 
 # subdirectories here. Add them in the ".gitignore" file
 # in that subdirectory instead.
 #
-# Normal rules
+# Normal rules (sorted alphabetically)
 #
 .*
-*.o
-*.o.*
 *.a
-*.s
-*.su
-*.mod.c
+*.bin
+*.cfgtmp
+*.elf
+*.exe
+*.gcda
+*.gcno
 *.i
 *.lex.c
 *.lst
+*.mod.c
+*.o
+*.o.*
 *.order
-*.elf
-*.swp
-*.bin
 *.patch
-*.cfgtmp
+*.s
+*.su
+*.swp
 *.tab.[ch]
 
-# host programs on Cygwin
-*.exe
-
 # Build tree
 /build-*
 
@@ -86,7 +86,3 @@  GTAGS
 *.orig
 *~
 \#*#
-
-# gcc code coverage files
-*.gcda
-*.gcno