linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Remove stale entry for generated version.h file in .gitignore
@ 2012-12-07 11:10 Jonathan Austin
  0 siblings, 0 replies; only message in thread
From: Jonathan Austin @ 2012-12-07 11:10 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, dhowells, Jonathan Austin

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.

Reported-by: Kevin Petit <kevin.petit@arm.com>
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
---
 .gitignore |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
index 92bd0e4..3b8b9b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,7 +60,6 @@ modules.builtin
 # Generated include files
 #
 include/config
-include/linux/version.h
 include/generated
 arch/*/include/generated
 
-- 
1.7.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-07 11:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07 11:10 [PATCH] Remove stale entry for generated version.h file in .gitignore Jonathan Austin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).