[Kimchi-devel] [PATCH] [Wok] Configure to ignore changes in Wok submodules.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Tue Dec 1 14:00:34 UTC 2015


From: Paulo Vital <pvital at linux.vnet.ibm.com>

After update or change any of the Wok submodules, the modifications
will be listed as Wok changes. Add configuration to ignore all changes
of in Wok submodules.

The value for each submodule can be "untracked", "dirty" or "all". When
"untracked" is used submodules are not considered dirty when they only
contain untracked content (but they are still scanned for modified
content). Using "dirty" ignores all changes to the work tree of
submodules, only changes to the commits stored in the superproject are
shown (this was the behavior before 1.7.0). Using "all" hides all
changes to submodules (and suppresses the output of submodule summaries
when the config option status.submodulesummary is set).

This patch sets "ignore = all" for all Wok submodules.

Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
 .gitmodules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitmodules b/.gitmodules
index 00d2644..69760eb 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,9 +1,12 @@
 [submodule "src/wok/plugins/kimchi"]
 	path = src/wok/plugins/kimchi
 	url = https://github.com/kimchi-project/kimchi.git
+    ignore = all
 [submodule "src/wok/plugins/ginger"]
 	path = src/wok/plugins/ginger
 	url = https://github.com/kimchi-project/ginger.git
+    ignore = all
 [submodule "src/wok/plugins/gingerbase"]
 	path = src/wok/plugins/gingerbase
 	url = https://github.com/kimchi-project/gingerbase
+    ignore = all
-- 
2.5.0




More information about the Kimchi-devel mailing list