Unable to commit changes in repository with git submodule
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
Either the ability to commit code to a repository with a submodule or a proper error message indicating non-support or workaround.
### Actual Behavior
When using the Git integration with Insomnia, I've noticed that the Commit function does not complete successfully on a repository with a git submodule. Cloning via the GitHub auth mechanism (or setting up a respiratory manually), and then executing the Commit function will result in a spinning wait icon in the Commit screen and no further progress.

### Reproduction Steps
Create a repository with a git submodule, make a change (for example add a spec file), then execute a Git Commit operation.
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
_No response_
### Insomnia Version
2022.3.0
### What operating system are you using?
macOS
### Operating System Version
macOS Monterey 12.4
### Installation method
Downloaded from main page
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Start with Insomnia's Git integration and the Commit flow, then reproduce the issue using a repository containing a git submodule and a changed spec file. Done means the commit completes successfully or the UI presents a clear non-support message or workaround instead of spinning indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, typescript
- Domain
- desktop, developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100