Skip to content

Commit

Permalink
chore(git): disable --depth in git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
notjaywu committed Apr 8, 2024
1 parent 26a78cf commit 5420fda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/insomnia/src/sync/git/git-vcs.ts
Expand Up @@ -437,7 +437,7 @@ export class GitVCS {
await git.fetch({
...this._baseOpts,
remote: 'origin',
depth,
// depth,
singleBranch: true,
tags: false,
});
Expand Down Expand Up @@ -490,7 +490,7 @@ export class GitVCS {
await git.fetch({
...this._baseOpts,
remote: 'origin',
depth: 1,
// depth: 1,
ref: branch,
singleBranch: true,
tags: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/insomnia/src/sync/git/shallow-clone.ts
Expand Up @@ -22,6 +22,6 @@ export const shallowClone = async ({ fsClient, gitRepository }: Options) => {
gitdir: GIT_INTERNAL_DIR,
singleBranch: true,
url: gitRepository.uri,
depth: 1,
// depth: 1,
});
};

0 comments on commit 5420fda

Please sign in to comment.