Skip to content

got st should have an option to ignore dirty submodules #14

Open
@maltoe

Description

@maltoe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions