Skip to contentSkip to conversation

.gitignore: sort normal pattern rules alphabetically

PATCH New Masahiro Yamada 2 participants 4 messages Jun 11, 2018 – Jun 19, 2018

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 .gitignore: sort normal pattern rules alphabetically

Follow Linux commit 1377dd3e2987 (".gitignore: sort normal pattern rules alphabetically").

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

---

 .gitignore | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)
.gitignore +13 -17
index 9110eda..4d4c486 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore

Follow Linux commit 10b62a2f785a (".gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore").

---

 .gitignore                     | 2 ++
 arch/arc/dts/.gitignore        | 1 -
 arch/arm/dts/.gitignore        | 1 -
 arch/microblaze/dts/.gitignore | 1 -
 arch/mips/dts/.gitignore       | 1 -
 arch/nios2/dts/.gitignore      | 1 -
 arch/sandbox/dts/.gitignore    | 1 -
 arch/x86/dts/.gitignore        | 1 -
 dts/.gitignore                 | 2 --
 9 files changed, 2 insertions(+), 9 deletions(-)
 delete mode 100644 arch/arc/dts/.gitignore
 delete mode 100644 arch/arm/dts/.gitignore
 delete mode 100644 arch/microblaze/dts/.gitignore
 delete mode 100644 arch/mips/dts/.gitignore
 delete mode 100644 arch/nios2/dts/.gitignore
 delete mode 100644 arch/sandbox/dts/.gitignore
 delete mode 100644 arch/x86/dts/.gitignore
 delete mode 100644 dts/.gitignore
.gitignore +2 -0
index 4d4c486..6bb0ade 100644
@@ -9,6 +9,8 @@
 *.a
 *.bin
 *.cfgtmp
+*.dtb
+*.dtb.S
 *.elf
 *.exe
 *.gcda
arch/arc/dts/.gitignore deleted +0 -1
deleted file mode 100644
index b60ed20..0000000
@@ -1 +0,0 @@
-*.dtb
arch/arm/dts/.gitignore deleted +0 -1
deleted file mode 100644
index b60ed20..0000000
@@ -1 +0,0 @@
-*.dtb
arch/microblaze/dts/.gitignore deleted +0 -1
deleted file mode 100644
index b60ed20..0000000
@@ -1 +0,0 @@
-*.dtb
arch/mips/dts/.gitignore deleted +0 -1
deleted file mode 100644
index b60ed20..0000000
@@ -1 +0,0 @@
-*.dtb
arch/nios2/dts/.gitignore deleted +0 -1
deleted file mode 100644
index b60ed20..0000000
@@ -1 +0,0 @@
-*.dtb
arch/sandbox/dts/.gitignore deleted +0 -1
deleted file mode 100644
index b60ed20..0000000
@@ -1 +0,0 @@
-*.dtb
arch/x86/dts/.gitignore deleted +0 -1
deleted file mode 100644
index b60ed20..0000000
@@ -1 +0,0 @@
-*.dtb
dts/.gitignore deleted +0 -2
deleted file mode 100644
index 1b37180..0000000
@@ -1,2 +0,0 @@
-*.dtb
-*.dtb.S
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore

Quoted 4 lines · Masahiro Yamada

Follow Linux commit 10b62a2f785a (".gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore").

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/e2b25aa1/attachment.sig>
#3 lore raw

PATCH 1/2 .gitignore: sort normal pattern rules alphabetically

In reply to Masahiro Yamada
Quoted 6 lines · Masahiro Yamada

Follow Linux commit 1377dd3e2987 (".gitignore: sort normal pattern rules alphabetically").

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180619/201728d3/attachment.sig>