PR Feedback - remove depth=1 from tryFetch function
This commit is contained in:
parent
c4e548c6bd
commit
b6576e092a
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -68,8 +68,7 @@ function tryFetch(git, remote, branch) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
yield git.fetch([`${branch}:refs/remotes/${remote}/${branch}`], remote, [
|
||||
'--force',
|
||||
'--depth=1'
|
||||
'--force'
|
||||
]);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -35,8 +35,7 @@ export async function tryFetch(
|
||||
): Promise<boolean> {
|
||||
try {
|
||||
await git.fetch([`${branch}:refs/remotes/${remote}/${branch}`], remote, [
|
||||
'--force',
|
||||
'--depth=1'
|
||||
'--force'
|
||||
])
|
||||
return true
|
||||
} catch {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user