ginger-dev-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ginger-dev-list] [PATCH] [Wok] Configure to ignore changes in Wok submo


From: pvital
Subject: [Ginger-dev-list] [PATCH] [Wok] Configure to ignore changes in Wok submodules.
Date: Tue, 1 Dec 2015 11:43:09 -0200

From: Paulo Vital <address@hidden>

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 <address@hidden>
---
 .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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]