Compare commits

..

4 Commits

Author SHA1 Message Date
Sam Lijin 3629f2766f
Merge 4e91896422 into f548e57e54 2026-07-25 00:42:17 +00:00
Sam Lijin 4e91896422
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-24 17:42:15 -07:00
Sam Lijin 6a27b96959
Apply suggestion from @bdeeming
Co-authored-by: BD <developer@deeming.nz>
2026-07-24 15:35:44 -07:00
Samuel Lijin 38cc68387c
fix(lfs): ensure that LFS objects are checked out 2023-06-27 16:36:44 -07:00
1 changed files with 0 additions and 9 deletions

9
dist/index.js vendored
View File

@ -35816,9 +35816,6 @@ class GitCommandManager {
const output = await this.execGit(['rev-parse', '--symbolic-full-name', '--verify', '--quiet', 'HEAD'], true);
return !output.stdout.trim().startsWith('refs/heads/');
}
async lfsCheckout() {
await this.execGit(['lfs', 'checkout']);
}
async lfsFetch(ref) {
const args = ['lfs', 'fetch', 'origin', ref];
const that = this;
@ -41882,12 +41879,6 @@ async function getSource(settings) {
startGroup('Checking out the ref');
await git.checkout(checkoutInfo.ref, checkoutInfo.startPoint);
endGroup();
// LFS checkout
if (settings.lfs && !settings.sparseCheckout) {
startGroup('Checking out LFS objects');
await git.lfsCheckout();
endGroup();
}
// Submodules
if (settings.submodules) {
// Temporarily override global config