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

Graph does not update automatically for submodules #789

Open
stitam opened this issue Oct 11, 2023 · 0 comments
Open

Graph does not update automatically for submodules #789

stitam opened this issue Oct 11, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@stitam
Copy link

stitam commented Oct 11, 2023

Related to #778

Describe the Bug
I have another issue with submodules. I can open the the git graph for both the main repo and the submodule that's fine. When I make a commit through the terminal to the main repo, the git graph for the main repo updates automatically, great, this is the expected behaviour. However, when I make a commit through the terminal to the submodule, the git graph for the submodule does not update automatically. Instead, I have to close the git graph and reopen it to see the changes. This happens not only with commits but with any other interaction e.g. switching branches. Git Graph updates automatically for the main repo but not for the submodule.

EDIT: it seems this issue only comes up when I interact with the repo from terminal (I use vs code built in terminal) and may not come up when I interact with the git repo in a point and click manner.

Steps to Reproduce
Steps to reproduce the behaviour:

  1. Go to "Source Control"
  2. Click on "View Git Graph" for the submodule
  3. Open a terminal, navigate to the submodule
  4. Change something, make a commit
  5. Look at the Git Graph for the submodule (no update)
  6. Close the Git Graph for the submodule and reopen (update)

Expected Behaviour
Git Graph should automatically update for the submodule as well.

Environment

  • Git Graph Extension Version: v1.30.0
  • Visual Studio Code Version: 1.84.0-insider
  • Operating System: Debian 11

Many thanks!

@stitam stitam added the bug Something isn't working label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants