Skip to contentSkip to conversation

.gitignore: Add *.patch to git ignore file

PATCH In review Suraj Jitindar Singh 2 participants 2 messages Aug 5, 2016 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .gitignore: Add *.patch to git ignore file

This is a pet peeve I have where when I generate a patch set then my git repo shows unstaged files.

I would prefer it if *.patch was in the .gitignore file.

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 3155418..52ee3ca 100644
@@ -6,6 +6,7 @@
 *.elf
 .pc
 patches
+*.patch
 .stgit-*
 cscope.*
 *.swp
Signature · 1 line
2.5.5
Reviewed-by on v1 1/1
#1 lore raw
Quoted 29 lines · Suraj Jitindar Singh

This is a pet peeve I have where when I generate a patch set then my git repo shows unstaged files.

I would prefer it if *.patch was in the .gitignore file.

---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)
.gitignore +1 -0
index 3155418..52ee3ca 100644
@@ -6,6 +6,7 @@
 *.elf
 .pc
 patches
+*.patch
 .stgit-*
 cscope.*
 *.swp
Signature · 6 lines
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html