From: Jonathan Austin Date: Mon, 17 Dec 2012 23:59:41 +0000 (-0800) Subject: .gitignore: remove stale entry for generated version.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da01ee3c8e7954fb7ed0ceb002d482c79f8b2ccd;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git .gitignore: remove stale entry for generated version.h 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. Signed-off-by: Jonathan Austin Reported-by: Kevin Petit Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/.gitignore b/.gitignore index 92bd0e45dfa1..3b8b9b33be38 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