Skip to content

Conversation

pmiossec
Copy link
Member

SetGitModule is already call in StartToolStripMenuItem.repositoryHistoryUIService_GitModuleChanged() registered with FormBrowse.cs@770:
fileToolStripMenuItem.GitModuleChanged += new System.EventHandler<GitModuleEventArgs>(SetGitModule);

Test methodology

  • Manual

Test environment(s)

  • GIT
  • Windows

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it still work when the app starts at the dashboard and then a repo is selected?

@pmiossec
Copy link
Member Author

Does it still work when the app starts at the dashboard and then a repo is selected?

Yes, It seems good.

Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work well

`SetGitModule` is already call in `StartToolStripMenuItem.repositoryHistoryUIService_GitModuleChanged()`
registered with `FormBrowse.cs@770`:
`fileToolStripMenuItem.GitModuleChanged += new System.EventHandler<GitModuleEventArgs>(SetGitModule);`
@pmiossec pmiossec force-pushed the fix/prevent_double_setgitmodule_call branch from 28cd420 to 8c8573e Compare February 17, 2025 09:17
@pmiossec pmiossec merged commit d9befb9 into gitextensions:master Feb 17, 2025
4 checks passed
@pmiossec pmiossec deleted the fix/prevent_double_setgitmodule_call branch February 17, 2025 10:18
@mstv mstv added this to the v5.3 milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants