Skip to content

Fetching and pulling take a very long time since the latest update #23115

Open

Description

@BlinkerHigh

The problem

Version 3.6.10 (x64)
Windows 10
Checked my firewall settings, it's all set.

Pulling/fetching can take dozens of minutes now.

If I activate/deactivate "Use system OpenSSH" option and restart, pull/fetch work as expected, but only once.

The problem only appeared after the latest update.

Release version

Version 3.6.10 (x64)

Operating system

Windows 10

Steps to reproduce the behavior

  1. Open github desktop
  2. Click "fetch origin"
  3. Action will hang for 15/20 minutes.

Log files

No response

Screenshots

No response

Additional context

No response

Activity

  1. desktop-triage commented on Nov 3, 2026

    @desktop-triage

    Triage summary: This is most likely a bug (suggested labels: bug, windows, priority-2 — pending maintainer approval). The reporter gives a specific version (3.6.10), OS (Windows 10), and a reproducible symptom (fetch/pull hangs 15-20 min, with toggling the "Use system OpenSSH" setting providing a one-time workaround), which points to a regression tied to the recent update rather than a local environment misconfiguration.

    Duplicate check: No exact duplicate found. Related but distinct reports: #22863 ("Desktop App Fetch/Pull from origin hangs indefinitely", macOS, SSH, still open/unresolved) and #22893 ("git-remote-https hanging at 99% CPU on fetch", macOS, closed as more-info-needed) describe similar indefinite-hang symptoms, but neither is Windows-specific nor mentions the "Use system OpenSSH" toggle as a workaround, so this issue stands on its own rather than duplicating them.

    Initial hypothesis: The reporter's fix — toggling "Use system OpenSSH" and restarting — points at SSH transport resolution rather than HTTPS/network issues, and it only works once per restart, suggesting some cached/memoized state becomes stale after the toggle (or after the recent update) and isn't refreshed on subsequent fetches. getSSHEnvironment in app/src/lib/ssh/ssh.ts (lines 39-67) decides at each fetch whether to use C:/Windows/System32/OpenSSH/ssh.exe via GIT_SSH_COMMAND, based on isWindowsOpenSSHAvailable(), which is wrapped in memoizeOne (lines 13-25) and only re-evaluates when called with different arguments (it takes none, so it effectively caches its result for the process lifetime). If a stale/incorrect cached result from an early call interacts poorly with the bundled Git's own SSH resolution, repeated fetches could keep using a slow or blocking SSH path until the setting is toggled, which forces a fresh environment variable to be computed for the very next git operation. This is also notable because the most recent related release (#23075) bumped Git for Windows from 2.56.0.windows.2 to 2.56.0.windows.4, so an upstream change in Git's own SSH/OpenSSH resolution on Windows could also be contributing; this needs confirmation from the reporter (e.g., whether downgrading to a pre-3.6.10 build restores normal fetch speed, and whether GIT_SSH_COMMAND/verbose SSH output clarifies which SSH client is actually invoked during a slow fetch).

    Generated by Issue Triage (skills-driven) for #23115 · auto · 50.3 AIC · ⊞ 4.7K · ◷

  2. BlinkerHigh commented on Nov 3, 2026

    @BlinkerHigh
    Author

    Additional information after investigating the issue:

    • My repository uses HTTPS, not SSH.
    • Simply restarting GitHub Desktop does not resolve the problem.
    • Toggling the "Use system OpenSSH" setting and restarting has temporarily allowed a successful fetch/pull, but the issue returns afterward.
    • Fetch/pull operations normally hang for 10-20 minutes or longer and cannot be cancelled through GitHub Desktop.
    • The logs show some successful fetch operations completing in approximately 1 second, alongside other operations that appear to stall without a corresponding completion entry.
    • GitHub Desktop successfully retrieves my GitHub credentials from its credential store.
    • Running git fetch origin from Command Prompt triggers a separate Git Credential Manager sign-in window, so I haven't completed that comparison.

    Since the repository uses HTTPS, the effect of toggling the OpenSSH setting is particularly strange. It seems to trigger some kind of temporary change in GitHub Desktop's behavior, even though SSH shouldn't be involved in the actual connection.

  3. daclare24 commented on Nov 3, 2026

    @daclare24

    Seconding this issue. I'm not particularly well-versed in setting up Git repos so I can't give as much useful info as OP, but after getting the most recent update my team and I have been having huge slowdowns with basic fetches.

  4. elawad commented on Nov 3, 2026

    @elawad

    I'm including logs which may help. Some actions take several seconds, as high as 15sec.
    Redacted repo/branch names.

    2026-11-03T18:04:46.589Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T18:04:52.948Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 7.695s)
    2026-11-03T18:05:04.894Z - info: [ui] [BranchPruner] Last prune took place 4 hours ago - skipping
    2026-11-03T18:05:51.125Z - info: [ui] [BranchPruner] Last prune took place 1 minute ago - skipping
    2026-11-03T18:13:57.725Z - info: [ui] [BranchPruner] Last prune took place 4 hours ago - skipping
    2026-11-03T18:13:58.981Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T18:14:08.459Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 12.212s)
    2026-11-03T18:14:10.938Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T18:14:19.112Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 10.652s)
    2026-11-03T18:46:37.656Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T18:46:49.246Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 14.297s)
    2026-11-03T18:46:51.675Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T18:47:01.521Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 12.275s)
    2026-11-03T19:13:20.003Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T19:13:22.342Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 3.103s)
    2026-11-03T19:13:23.052Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T19:13:25.407Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 3.064s)
    2026-11-03T19:13:42.841Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 8 repositories took 32.7s of which 3554.7s paused, total 3587.4s
    2026-11-03T19:13:47.653Z - info: [ui] No submodules found. Skipping "git submodule status"
    2026-11-03T19:13:54.938Z - info: [ui] [BranchPruner] Last prune took place 1 hour ago - skipping
    2026-11-03T19:14:01.723Z - info: [ui] [Timing] Action 'checkout branch from list' for '***repo***' took 0.262s
    2026-11-03T19:14:03.940Z - info: [ui] [BranchPruner] Last prune took place 5 hours ago - skipping
    2026-11-03T19:14:04.166Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 8 repositories took 1.2s of which 0.0s paused, total 1.2s
    2026-11-03T19:14:05.892Z - info: [ui] [Timing] Action 'checkout branch from list' for '***repo***' took 0.157s
    2026-11-03T19:19:33.303Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T19:19:45.400Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 15.394s)
    2026-11-03T19:19:47.514Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T19:20:00.547Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 15.147s)
    2026-11-03T19:21:56.599Z - info: [ui] Stats reported.
    2026-11-03T19:29:26.884Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 7 repositories took 3.7s of which 0.0s paused, total 3.7s
    2026-11-03T19:32:44.323Z - info: [ui] [BranchPruner] Last prune took place 1 hour ago - skipping
    2026-11-03T19:43:39.764Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T19:43:52.404Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 15.525s)
    2026-11-03T19:43:55.102Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T19:44:05.516Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 13.112s)
    2026-11-03T20:16:46.583Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:16:55.788Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 11.574s)
    2026-11-03T20:16:58.628Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:17:07.863Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 12.074s)
    2026-11-03T20:26:06.731Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 7 repositories took 3.2s of which 0.0s paused, total 3.2s
    2026-11-03T20:30:55.218Z - info: [ui] Executing createCommit: git commit -F - (took 1.918s)
    2026-11-03T20:30:55.240Z - info: [ui] [Timing] Action 'create commit' for '***repo***' took 1.960s
    2026-11-03T20:31:02.741Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:31:11.442Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:31:20.422Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:31:27.798Z - info: [ui] Executing push: git push --progress -- origin ***branch*** (took 27.717s)
    2026-11-03T20:31:30.211Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:31:39.295Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 11.496s)
    2026-11-03T20:31:41.540Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:31:49.857Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 10.561s)
    2026-11-03T20:32:04.905Z - info: [main] opening in browser: https://desktop.github.com/release-notes/
    2026-11-03T20:36:39.257Z - info: [ui] No submodules found. Skipping "git submodule status"
    2026-11-03T20:41:03.400Z - info: [ui] [Timing] Action 'checkout branch from list' for '***repo***' took 0.244s
    2026-11-03T20:41:27.193Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 7 repositories took 3.5s of which 0.0s paused, total 3.5s
    2026-11-03T20:41:46.895Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:41:52.932Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:41:59.781Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:42:06.131Z - info: [ui] Executing push: git push --progress -- origin ***branch*** (took 21.059s)
    2026-11-03T20:42:08.170Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:42:15.351Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 9.219s)
    2026-11-03T20:42:17.189Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:42:23.781Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 8.429s)
    2026-11-03T20:43:10.107Z - info: [ui] [Timing] Action 'checkout branch from list' for '***repo***' took 0.000s
    2026-11-03T20:43:25.398Z - info: [ui] [Timing] Action 'checkout branch from list' for '***repo***' took 0.233s
    2026-11-03T20:43:28.523Z - info: [ui] [BranchPruner] Last prune took place 7 hours ago - skipping
    2026-11-03T20:43:30.204Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:43:35.873Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 7.349s)
    2026-11-03T20:43:37.049Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:43:42.687Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 6.813s)
    2026-11-03T20:55:37.694Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:55:41.754Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 6.028s)
    2026-11-03T20:55:43.406Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
    2026-11-03T20:55:49.026Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 7.271s)
    2026-11-03T20:57:05.903Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 7 repositories took 3.5s of which 0.0s paused, total 3.5s
    
  5. BlinkerHigh commented on Nov 4, 2026

    @BlinkerHigh
    Author

    Another observation with "Use system OpenSSH" disabled: Fetch origin sometimes remains stuck at "remote: Compressing objects: 100% (16/16), done."
    The operation doesn't finish even though the remote compression step reports 100%.

    This seems consistent with the broader fetch/pull slowdown, but provides a more specific point at which the progress indicator stops updating.

  6. tidy-dev commented on Nov 4, 2026

    @tidy-dev
    Contributor

    @elawad or @BlinkerHigh Have either of you tried downloading a previous release such as 3.6.7 to see if it works?

    I ask because in 3.6.8 - 3.6.10 we shipped some fundamental dependency upgrades - Git and Electron which either could have resulted in a change of behavior here. Tho sounds more likely that it would be Git upgrade.

    ⚠️ I would not recommend staying on 3.6.7 as those dependency upgrades came with several security patches.

  7. added
    more-info-needed
    on Nov 4, 2026
  8. elawad commented on Nov 4, 2026

    @elawad

    @tidy-dev Thanks, I tested again today with latest and seems back to normal speeds.
    I also tested v 3.6.7 and it's the same normal speeds as well.

    So no longer an issue for me on latest. 👍

  9. BlinkerHigh commented on Nov 5, 2026

    @BlinkerHigh
    Author

    7. @elawad or @BlinkerHigh Have either of you tried downloading a previous release such as 3.6.7 to see if it works?
    I ask because in 3.6.8 - 3.6.10 we shipped some fundamental dependency upgrades - Git and Electron which either could have resulted in a change of behavior here. Tho sounds more likely that it would be Git upgrade.
    ⚠️ I would not recommend staying on 3.6.7 as those dependency upgrades came with several security patches.

    Yes, the issue appeared only in the latest version.
    Previous versions were fine.

  10. removed
    more-info-needed
    on Nov 5, 2026
  11. mrabenhaupt commented on Nov 5, 2026

    @mrabenhaupt

    Same issue on my side since the latest update. Takes more than a minute to fetch or push. My repo is on gitlab, not sure if that matters.
    (the user name error is in old logs as well, must be unrelated)

    2026-11-05T08:59:00.098Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 104.420s)
    2026-11-05T08:59:02.248Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 2.150s)
    2026-11-05T08:59:45.446Z - info: [ui] [Timing] Action 'checkout branch from list' for 'space-prototype' took 0.054s
    2026-11-05T08:59:51.445Z - info: [ui] Executing createStashEntry: git stash push -m !!GitHub_Desktop<master> (took 2.567s)
    2026-11-05T08:59:54.613Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 2.133s)
    2026-11-05T08:59:55.090Z - info: [ui] [Timing] Action 'stash and checkout' for 'space-prototype' took 6.294s
    2026-11-05T09:02:19.715Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 197.325s)
    2026-11-05T09:02:21.850Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 2.135s)
    2026-11-05T09:02:37.288Z - info: [ui] Executing fetch: git fetch --progress --prune --recurse-submodules=on-demand -- origin (took 156.327s)
    2026-11-05T09:02:39.341Z - info: [ui] Executing updateRemoteHEAD: git remote set-head -a -- origin (took 2.053s)
    2026-11-05T09:03:41.792Z - info: [ui] credential-helper: could not find credential for https://github.com/
    2026-11-05T09:03:41.803Z - error: [ui] `git fetch --progress --prune --recurse-submodules=on-demand -- origin` exited with an unexpected code: 128.
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
    
    2026-11-05T09:04:05.460Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 23.609s)
    2026-11-05T09:04:24.800Z - info: [ui] Executing fastForwardBranches: git fetch . --show-forced-updates --no-write-fetch-head --stdin (took 105.388s)
    2026-11-05T09:04:28.754Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 5 repositories took 332.0s of which 101.1s paused, total 433.2s
    
  12. winkels commented on Nov 5, 2026

    @winkels

    I have at least three team members complaining of the same issue. Started late last week/early this week. All on Windows, all using 3.6.10. If you look at Task Manager "Git for Windows" is taking up an extreme amount of CPU.

  13. markbrill-insphire commented on Nov 5, 2026

    @markbrill-insphire

    It just took me an hour and 15 minutes to do a single cherry pick (on an underpowered VM), with the various branch checkouts and pulls needed during that!

  14. Edddy commented on Nov 5, 2026

    @Edddy

    I suffering with this bug too. The tool is useless since 3.6.10.

  15. 6 remaining items

  16. added
    priority-2
    on Nov 9, 2026
  17. DylanDevelops commented on Nov 10, 2026

    @DylanDevelops
    Contributor

    I'm looking into this to see if I can potentially fix the issue.

  18. Evie211974 commented on Nov 10, 2026

    @Evie211974

    Vasquez

  19. DylanDevelops commented on Nov 10, 2026

    @DylanDevelops
    Contributor

    I looked into this and the only change between 3.6.9 and 3.6.10 is the bundled Git for Windows update (2.56.0.windows.2 → 2.56.0.windows.4 in #23075), with no changes to Desktop's own code. So the slowdown most likely comes from those Git builds rather than from Desktop, and since we can't reproduce it, there's nothing we can do right now I don't think.

  20. MattJCarr commented on Nov 10, 2026

    @MattJCarr

    I looked into this and the only change between 3.6.9 and 3.6.10 is the bundled Git for Windows update (2.56.0.windows.2 → 2.56.0.windows.4 in #23075), with no changes to Desktop's own code. So the slowdown most likely comes from those Git builds rather than from Desktop, and since we can't reproduce it, there's nothing we can do right now I don't think.

    Maybe that's the case, but I wouldn't base the conclusion entirely on changes from 3.6.9 to 3.6.10. Maybe someone else has done more testing and can confirm, but I don't know if 3.6.10 was the first version with this issue. It could also have been from 3.6.9 or 3.6.8 I expect.

  21. BlinkerHigh commented on Nov 10, 2026

    @BlinkerHigh
    Author

    @DylanDevelops What does it mean? GitDesktop is just not useable anymore for a bunch of users as you can tell from this thread.
    Did you check the previous comments, including mine, providing extra information?

  22. mrabenhaupt commented on Nov 10, 2026

    @mrabenhaupt

    to me it feels almost like this is more of a UI issue. Like when I push something, it shows up on the online remote almost instantly but the app-UI still shows "in progress" for a while.

  23. markbrill-insphire commented on Nov 10, 2026

    @markbrill-insphire

    I've got a fix that has worked on 2/2 of our affected machines to far:
    Install git for Windows 2.56.0.windows.4
    Do a 'git fetch' on your repo from a command prompt.
    It will run some maintenance task on your local repo.
    Github Desktop is then fast again.

    How I got here:
    In light of Dylan's comments, it seemed simple to test his theory by doing a git fetch in the windows.1 i had installed, update to .4 and if that was much slower - then we redirect our problem at the git for windows team rather than github desktop.

    What actually happened is in .1, the fetch was instant as expected.

    Then in .4 it ran some maintenance task that took ages:
    "git fetch
    Enumerating objects: 161380, done.
    Counting objects: 100% (161380/161380), done.
    Delta compression using up to 2 threads
    Compressing objects: 100% (43289/43289), done.
    Writing objects: 100% (161380/161380), done.
    Total 161380 (delta 124046), reused 155359 (delta 118025), pack-reused 0 (from 0)"

    Subsequent git fetch in .4 was then fast
    As was github desktop.

    I repeated this process on a second machine, this time trying a github desktop fetch after installing .4 (without using the command line first) and it was still slow. So it wasn't the upgrade to .4 that fixed it. Then I did the command line fetch, it once again did the maintenance task - and now this second machine is also fast in github desktop.

  24. markbrill-insphire commented on Nov 10, 2026

    @markbrill-insphire

    I just tried the above on a machine not suffering from slowdown and git fetch does not perform the maintenance task. So it seems able to determine which repo's need compressed.

    On a machine that was both slow and needed a fetch, it does the fetch first then the compress. Which sort of matches the UI of github Desktop in that it spends ages stuck, then frees up and claims it was down 15 minutes ago. The fetch probably was... then I guess git did this compression task? But for some reason the benefit of that when performed via Github Desktop doesn't stick and next fetch it compresses again? Whereas from the command line - it remains fast thereafter. This is all speculative obviously.

  25. BlinkerHigh commented on Nov 10, 2026

    @BlinkerHigh
    Author

    I have already mentioned that turning "Use System OpenSSH" on and off makes fetching/pulling work ONCE every time I restart.
    How is it not enough to find the source of the problem?

  26. GreenSpiny commented on Nov 12, 2026

    @GreenSpiny

    My large repositories with 1000s of images take a long time and heavy CPU to fetch even if nothing changed, when it used to be near instantaneous; but my repositories of just code have no noticeable slowdown. Perhaps reproduction would be easier with a large repository?

    The issue did not occur until 3.6.10. I'd return to 3.6.9 but can't suppress the auto update.

  27. KojiNakamaru commented on Nov 12, 2026

    @KojiNakamaru

    Recent versions of Git may invoke git maintenance with the --detach option after a fetch or commit. Since --detach is not supported on Windows, it runs in the foreground and forces GitHub Desktop to wait for it to complete. Furthermore, because GitHub Desktop runs multiple Git commands in parallel, perhaps old pack files remain locked and fail to be deleted, and subsequent git maintenance runs lengthy git repack operations again. This explains why running git fetch from the CLI temporarily resolves the issue.

    You can prevent this issue by disabling auto-maintenance as follows:

    git config --global maintenance.auto false
    
  28. Diode-exe commented on Nov 30, 2026

    @Diode-exe

    I'm suffering from slowdowns and both git for Windows and git for WSL2 are very fast when commiting and pushing.

    Update: it doesn't seem to be nearly as slow in a regular Windows-native repo, but it is even slower than usual in a WSL2 repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority-2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions