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

Ensure commits by others to a tracked upstream will update my graph (fix #234979) #235318

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

gjsjohnmurray
Copy link
Contributor

This PR fixes #234979

@gjsjohnmurray
Copy link
Contributor Author

/assign @lszomoru

@lszomoru
Copy link
Member

lszomoru commented Dec 5, 2024

@gjsjohnmurray, thanks for the PR. I have not yet investigated the bug but always resolving base is not the way to go here. This code path is "very hot" as it is being executed very frequently. Resolving the base branch can result in one of more calls to git.exe which we want to minimize.

@gjsjohnmurray
Copy link
Contributor Author

@lszomoru fair point. I have reworked my change so it's less expensive.

@gjsjohnmurray gjsjohnmurray changed the title Always resolve base so other commits to a tracked upstream will update graph (fix #234979) Ensure commits by others to a tracked upstream will update my graph (fix #234979) Dec 5, 2024
@lszomoru
Copy link
Member

lszomoru commented Dec 5, 2024

@gjsjohnmurray, thanks! I will take a look at this next week.

@lszomoru lszomoru added the scm General SCM compound issues label Dec 10, 2024
@gjsjohnmurray
Copy link
Contributor Author

@lszomoru I hope you will find time to review this and consider merging.

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

Successfully merging this pull request may close these issues.

SCM Graph - automatic refresh not updating correctly with 3-reference Auto
3 participants