SnabbCo/snabbswitch — pull request #46 by pkazmier (2013-01-21 19:39:57+00:00)
Title: Ignore dirty submodules so they don't pollute the output of git status

I don't know about you guys, but this has been driving me bonkers. Does this affect you as well, or is it just me? I found the following resolves the behavior. Pete.

--
The `ignore = dirty` option tells git to disregard any local changes
to the submodule directories. In the case of snabbswitch, the luajit
depenency is installed in the submodule directory itself, which yields
the following `git status` output:

```
kaz@monad:~/src/snabbswitch$ git status
# On branch ignore-dirty-submodules
# Changes not staged for commit:
# (use "git add ..." to update what will be committed)
# (use "git checkout -- ..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: deps/luajit (untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")
```