[PATCH] scripts/config/.gitignore omits source files
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 20 Jun 2011 10:41:02 +0000 (10:41 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 20 Jun 2011 10:41:02 +0000 (10:41 +0000)
scripts/config/.gitignore aims to avoid checking binaries in to git.
Unfortunately it also omits conf.c, confdata.c, and all source files
in lxdialog. An OpenWRT tree pulled from a git repository will not
build, and I suspect this was not the intention.

Signed-off-by: Denton Gentry <denny@geekhold.com>
SVN-Revision: 27244

scripts/config/.gitignore
scripts/config/lxdialog/.gitignore [new file with mode: 0644]

index 72812668d977e4257d160a4d7c90e03127b25bbc..0326e060bb70dee4f3cddce6bebe8fd6141d515f 100644 (file)
@@ -1,6 +1,9 @@
 *.o
-lxdialog
 conf*
+!conf*.c
+!conf*.h
 mconf*
+!mconf*.c
+!mconf*.h
 mconf_check
 *.*.c
diff --git a/scripts/config/lxdialog/.gitignore b/scripts/config/lxdialog/.gitignore
new file mode 100644 (file)
index 0000000..405824d
--- /dev/null
@@ -0,0 +1,2 @@
+lxdialog
+*.o