lkml.org 
[lkml]   [2010]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [Patch] um: tell git to ignore generated files
On Sat, Feb 20, 2010 at 03:09:36PM +0000, Al Viro wrote:
>On Sat, Feb 20, 2010 at 10:33:59PM +0800, Am??rico Wang wrote:
>>
>> git should ignore these files, since they are generated.
>
>> +include/shared/kern_constants.h
>> +include/shared/user_constants.h
>
>I have patches taking that to include/generated, actually

Oh, ok, I can remove these two for you. :)

Thanks.


------------>

Tell git to ignore the generated files under um, except:

include/shared/kern_constants.h
include/shared/user_constants.h

which will be moved to include/generated.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>


---
diff --git a/.gitignore b/.gitignore
index de6344e..efab0eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,7 @@ modules.builtin
#
tags
TAGS
+linux
vmlinux
vmlinuz
System.map
diff --git a/arch/um/.gitignore b/arch/um/.gitignore
new file mode 100644
index 0000000..f22bd73
--- /dev/null
+++ b/arch/um/.gitignore
@@ -0,0 +1,3 @@
+kernel/config.c
+kernel/config.tmp
+kernel/vmlinux.lds


\
 
 \ /
  Last update: 2010-02-20 16:35    [W:0.117 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site