@aspruyt/xfg 3.10.2 → 3.10.3

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.
@@ -130,7 +130,7 @@ export class AuthenticatedGitOps {
130
130
  async fetchBranch(branchName) {
131
131
  // Remote URL already has auth from clone
132
132
  const safeBranch = escapeShellArg(branchName);
133
- await this.execWithRetry(`git fetch origin ${safeBranch}:refs/remotes/origin/${safeBranch}`);
133
+ await this.execWithRetry(`git fetch origin +${safeBranch}:refs/remotes/origin/${safeBranch}`);
134
134
  }
135
135
  // ============================================================
136
136
  // Local operations - delegate directly to GitOps
@@ -115,7 +115,7 @@ export class GraphQLCommitStrategy {
115
115
  await gitOps.fetchBranch(branchName);
116
116
  }
117
117
  else {
118
- await this.executor.exec(`git fetch origin ${safeBranch}:refs/remotes/origin/${safeBranch}`, workDir);
118
+ await this.executor.exec(`git fetch origin +${safeBranch}:refs/remotes/origin/${safeBranch}`, workDir);
119
119
  }
120
120
  // Get the remote HEAD SHA for this branch (not local HEAD)
121
121
  const headSha = await this.executor.exec(`git rev-parse origin/${safeBranch}`, workDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aspruyt/xfg",
3
- "version": "3.10.2",
3
+ "version": "3.10.3",
4
4
  "description": "Manage files, settings, and repositories across GitHub, Azure DevOps, and GitLab — declaratively, from a single YAML config",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",