Remove unshallow fetch

This commit is contained in:
Webber 2020-05-01 14:11:37 +02:00 committed by Webber Takken
parent d01e844eea
commit cd1d215dfa
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -129,10 +129,12 @@ export default class Versioning {
}
/**
* Retrieves refs from the configured remote, unshallow (based on actions/checkout@v2+)
* Retrieves refs from the configured remote.
*
* Note: `--all` should not be used, and would break fetching for push event.
*/
static async fetch() {
await System.run('git', ['fetch', '--unshallow']);
await System.run('git', ['fetch']);
}
/**