Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
maltoe opened this issue Aug 28, 2013 · 1 comment
Open

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

maltoe opened this issue Aug 28, 2013 · 1 comment
Labels

Comments

@maltoe
Copy link

maltoe commented Aug 28, 2013

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

@genehack
Copy link
Owner

Sorry for letting this languish for so long. I'm not opposed to this change, but I don't really use submodules for anything, so I'm unlikely to write this code. I've tagged the issue 'wishlist' and will leave it open. Hopefully another submodule user will see it and be inspired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants