-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Hi,
as the title says, it would be great for got status to have an --ignore-submodules switch, so that repositories containing dirty submodules would not show up as being dirty. Personally, I'd like it to ignore modified content and untracked content submodules, yet report new commits, however, ignoring them completely would be fine, too.
For example, at work we have several Rails engines which are tested against a dummy clone of the main application. git status reports like this:
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: spec/dummy (modified content, untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")Thanks,
Malte