Kong / Kong/insomnia

Unable to commit changes in repository with git submodule

Open
#4,824 4 comments 0 reactions 0 assignees View on GitHub
A-git-sync B-bug S-verified
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.

Screen Shot 2022-05-31 at 2 21 17 PM

### 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.