You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enumag opened this issue
Jun 11, 2024
· 2 comments
Labels
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
The issue has been reported 3 years ago in #13016 and mistakenly closed as duplicate of #9174 while it is in fact a separate and still existing bug.
If GitHub Desktop cloned a repository on a branch without submodules, when attempting to switch to a branch with submodules, GitHub Desktop throws the following error:
fatal: not a git repository: ../.git/modules/<submodule name>
fatal: could not reset submodule index
Release version
3.6.1
Operating system
Windows 11
Steps to reproduce the behavior
Create a repository with a default branch set to a branch without any submodules.
Create a branch in the repository and add a submodule to it.
Switch back to the default branch without submodule.
Checkout this repository with GitHub Desktop. It should checkout the default branch without submodules.
Try checking out the submodule branch. GitHub Desktop should throw the error mentioned at the top of this page.
Log files
Can't share them publicly because I noticed it on a private repository. It should be easy to reproduce though.
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered:
steveward
added
bug
Confirmed bugs or reports that are very likely to be bugs
priority-2
Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
labels
Jun 13, 2024
bugConfirmed bugs or reports that are very likely to be bugspriority-2Bug that affects more than a few users in a meaningful way but doesn't prevent core functions
The problem
The issue has been reported 3 years ago in #13016 and mistakenly closed as duplicate of #9174 while it is in fact a separate and still existing bug.
If GitHub Desktop cloned a repository on a branch without submodules, when attempting to switch to a branch with submodules, GitHub Desktop throws the following error:
Release version
3.6.1
Operating system
Windows 11
Steps to reproduce the behavior
Log files
Can't share them publicly because I noticed it on a private repository. It should be easy to reproduce though.
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: