This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Description
- GitHub Extension for Visual Studio version: 2.2.0.6
- Visual Studio version: 2015
There are many ways a submodule can become dirty/changed without the user intending to touch the module. Here is one example:
- Open the
github/VisualStudio solution and GitHub tool window
- Click the title of PR 813
- Click
Checkout fixes/move-submodules
- Click
Pull Requests icon.
- Click the title of PR 734
- Click
Checkout fixes/move-submodules
- Hovering over the
Checkout button shows the following:

This is disconcerting because the user hasn't made any changes. To fix it from inside Visual Studio, they'll need to.
- Open the
Team Explorer tool window
- Click on the
Changes icon
- Right-click on the
script module and Submodule Update.
- On the GitHub tool window, click the refresh icon
- The
Checkout button will now be clickable
This seems like a lot of ceremony to go though have not intentionally changed anything! Now, I know the user should have done a Submodule Update (or submodule sync) after checking out PR 813, but they won't necessarily know they have to on other projects.