@openvcs/git-plugin 0.3.1-edge.20260530.107 → 0.3.1-edge.20260530.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/git.js CHANGED
@@ -452,7 +452,9 @@ export class GitCommand {
452
452
  });
453
453
  }
454
454
  applyReversePatch(patch) {
455
- this.runChecked(['apply', '-R', patch], 'git-apply-reverse-failed');
455
+ this.runChecked(['apply', '-R', '--unidiff-zero'], 'git-apply-reverse-failed', {
456
+ stdin: patch,
457
+ });
456
458
  }
457
459
  hardResetHead(ref) {
458
460
  this.runChecked(['reset', '--hard', ref ?? 'HEAD'], 'git-reset-hard-failed');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvcs/git-plugin",
3
- "version": "0.3.1-edge.20260530.107",
3
+ "version": "0.3.1-edge.20260530.110",
4
4
  "description": "OpenVCS Git plugin - Node.js runtime",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "homepage": "https://github.com/Open-VCS/OpenVCS-Plugin-Git",
@@ -18,7 +18,7 @@
18
18
  "openvcs": {
19
19
  "id": "openvcs.git",
20
20
  "name": "Git",
21
- "version": "0.3.1-edge.20260530.107",
21
+ "version": "0.3.1-edge.20260530.110",
22
22
  "author": "OpenVCS Contributors",
23
23
  "description": "Git VCS backend plugin for OpenVCS",
24
24
  "default_enabled": true,
package/src/git.ts CHANGED
@@ -623,7 +623,9 @@ export class GitCommand {
623
623
  }
624
624
 
625
625
  applyReversePatch(patch: string): void {
626
- this.runChecked(['apply', '-R', patch], 'git-apply-reverse-failed');
626
+ this.runChecked(['apply', '-R', '--unidiff-zero'], 'git-apply-reverse-failed', {
627
+ stdin: patch,
628
+ });
627
629
  }
628
630
 
629
631
  hardResetHead(ref?: string): void {