3
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-24 12:25:34 +00:00

Merge remote-tracking branch 'origin/main' into users/cory-miller/deps

This commit is contained in:
Cory Miller 2024-04-24 15:55:58 +00:00
commit fa9d9e68de
7 changed files with 35 additions and 6 deletions

2
dist/index.js vendored
View file

@ -590,6 +590,8 @@ class GitCommandManager {
disableSparseCheckout() {
return __awaiter(this, void 0, void 0, function* () {
yield this.execGit(['sparse-checkout', 'disable']);
// Disabling 'sparse-checkout` leaves behind an undesirable side-effect in config (even in a pristine environment).
yield this.tryConfigUnset('extensions.worktreeConfig', false);
});
}
sparseCheckout(sparseCheckout) {