Skip to contentSkip to conversation

Remove stale entry for generated version.h file in .gitignore

PATCH New Jonathan Austin 1 participant 1 message Dec 7, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove stale entry for generated version.h file in .gitignore

Since userspace headers were moved to generated/uapi it possible to have a stale copy of linux/version.h at that file's old location. This causes confusion after building an older kernel version, then checking out and building a new one; the old (stale) version header will still get picked up until it is manually removed. This upsets the C library.

Since the uapi changes, include/linux/version.h is no longer generated and should not be ignored, so this patch removes it from .gitignore.

---
 .gitignore |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
.gitignore +0 -1
index 92bd0e4..3b8b9b3 100644
@@ -60,7 +60,6 @@ modules.builtin
 # Generated include files
 #
 include/config
-include/linux/version.h
 include/generated
 arch/*/include/generated
 
Signature · 1 line
1.7.1