Skip to content

Commit

Permalink
fix: Don't use --single-branch in git.cloneFromGitHub (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz authored Jun 18, 2024
1 parent ed1ca0b commit 8bc6ef7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion dist/build-crates-standalone-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -127659,7 +127659,6 @@ function cloneFromGitHub(repo, options) {
const remote = options.token == undefined ? `https://github.com/${repo}.git` : `https://${options.token}@github.com/${repo}.git`;
const command = ["git", "clone", "--recursive"];
if (options.branch != undefined) {
command.push("--single-branch");
command.push("--branch", options.branch);
}
command.push(remote);
Expand Down
1 change: 0 additions & 1 deletion dist/create-release-branch-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24822,7 +24822,6 @@ function cloneFromGitHub(repo, options) {
const remote = options.token == undefined ? `https://github.com/${repo}.git` : `https://${options.token}@github.com/${repo}.git`;
const command = ["git", "clone", "--recursive"];
if (options.branch != undefined) {
command.push("--single-branch");
command.push("--branch", options.branch);
}
command.push(remote);
Expand Down
1 change: 0 additions & 1 deletion dist/publish-crates-eclipse-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -127753,7 +127753,6 @@ function cloneFromGitHub(repo, options) {
const remote = options.token == undefined ? `https://github.com/${repo}.git` : `https://${options.token}@github.com/${repo}.git`;
const command = ["git", "clone", "--recursive"];
if (options.branch != undefined) {
command.push("--single-branch");
command.push("--branch", options.branch);
}
command.push(remote);
Expand Down
1 change: 0 additions & 1 deletion dist/publish-crates-github-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -127732,7 +127732,6 @@ function cloneFromGitHub(repo, options) {
const remote = options.token == undefined ? `https://github.com/${repo}.git` : `https://${options.token}@github.com/${repo}.git`;
const command = ["git", "clone", "--recursive"];
if (options.branch != undefined) {
command.push("--single-branch");
command.push("--branch", options.branch);
}
command.push(remote);
Expand Down
1 change: 0 additions & 1 deletion dist/publish-crates-homebrew-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -127656,7 +127656,6 @@ function cloneFromGitHub(repo, options) {
const remote = options.token == undefined ? `https://github.com/${repo}.git` : `https://${options.token}@github.com/${repo}.git`;
const command = ["git", "clone", "--recursive"];
if (options.branch != undefined) {
command.push("--single-branch");
command.push("--branch", options.branch);
}
command.push(remote);
Expand Down
1 change: 0 additions & 1 deletion src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export function cloneFromGitHub(repo: string, options: CloneFromGitHubOptions) {

const command = ["git", "clone", "--recursive"];
if (options.branch != undefined) {
command.push("--single-branch");
command.push("--branch", options.branch);
}
command.push(remote);
Expand Down

0 comments on commit 8bc6ef7

Please sign in to comment.