Normally doing 'git status' without '-u' would not
show untracked files in the main repository. But
still, it will indicated that there are
untracked files in a submodules. Sometimes this
is a good thing, sometimes not.

This patch adds the option to ignore the current
libdc submodule's untracked files.

One can still look for the submodule local status
by doing a:
   cd libdivecomputer
   git status

Signed-off-by: Lubomir I. Ivanov <[email protected]>
---

this is a bit of selfish change, since i have a custom
build script for libdc inside the folder, but maybe this
is a good thing to do?
---
 .gitmodules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitmodules b/.gitmodules
index f095dd9f5..d05f2292a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -2,3 +2,4 @@
        path = libdivecomputer
        url = git://github.com/Subsurface-divelog/libdc.git
        branch = Subsurface-branch
+       ignore = untracked
-- 
2.15.0.windows.1

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to