[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 7281266..0326e06 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