Kong/insomnia · error
Merges with additions are not supported yet.
Error message
Merges with additions are not supported yet.
What it means
Translated isomorphic-git MergeNotSupportedError from GitVCS.merge: isomorphic-git cannot perform a merge that requires adding new files (limited merge support), so the operation is surfaced as unsupported rather than silently corrupting state.
Solutions
- Perform the merge outside Insomnia with a full git client, then sync
- Reorganize branches so the merge does not introduce new files from the other side
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at packages/insomnia/src/sync/git/git-vcs.ts:1924 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Kong/insomnia@d9bb2b0142 (2026-08-26).
Data as JSON: /api/errors/a82288e7f6608966.
Report an issue: GitHub.
Appendix: source
Thrown at packages/insomnia/src/sync/git/git-vcs.ts:1924
) {
this._baseOpts.fs.startCollectWriteAction(writeFileMap);
}
return git
.merge({
...this._baseOpts,
ours: oursBranch,
theirs: theirsBranch,
abortOnConflict: false,
})
.catch(async err => {
if (err instanceof git.Errors.MergeConflictError) {
return await this.collectMergeConflicts(err, oursBranch, theirsBranch, writeFileMap);
}
if (err instanceof git.Errors.MergeNotSupportedError) {
const errorMessage = 'Merges with additions are not supported yet.';
throw new Error(errorMessage);
}
throw err;
})
.finally(() => {
if (
'stopCollectWriteAction' in this._baseOpts.fs &&
typeof this._baseOpts.fs.stopCollectWriteAction === 'function'
) {
this._baseOpts.fs.stopCollectWriteAction();
}
});
}
async fetch({
singleBranch,
depth,
credentialsId,View on GitHub (pinned to d9bb2b0142)