Open peterhost opened 12 years ago
Interesting idea. Happy to make the change but I worry people might be unpleasantly surprised if they make changes that are quietly ignored.
It's easy to do if you think it helps people more than it might hurt.
You are right, I guess. Although it's not good practice to modify files directly in a cloned submodule, not showing untracked/unstaged changes might confuse new git users. Let's keep it simple then, as the tool does an excellent job as is.
I personally modify my .gitmodules et .git/config to get rid of the annoying messages. Maybe include it as a command line switch ?
This is an excellent tool I use on a day to day basis on many different computers.
I have only one (tiny wheenie) request :
When using submodules for Vim plugins, we often encounter the situation when the submodule tree becomes dirty adding modified/untraked files to the
git status
output in the main repo (when building helptags or for ex., or Commant-T Plugin which needs a ruby extension to be rebuilt).I'm not a rubyist myself but it seems it's "a matter of" (big quotes) adding an
ignore = dirty
entry in.gitmodules
for each submodule as mentionned herethis should be around line 153-164 of the
vim-update-bundle
main script