mirror of https://gitea.com/actions/checkout.git
main
dependabot/github_actions/minor-actions-dependencies-ad3029623a
dependabot/npm_and_yarn/minor-npm-dependencies-14ee30afef
dependabot/npm_and_yarn/types/node-22.5.4
dependabot/npm_and_yarn/typescript-eslint/parser-7.18.0
dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.4.0
dependabot/npm_and_yarn/multi-87b2ad6fb3
jww3-patch-1
jww3-minversion-v5
releases/v4.0.0
takost/test-package-update
test-show-progress
releases/v3
users/vanzeben/lfs-credentials-helper
luketomlinson/tags
fhammerl/releasev3.6.0
releases/v2
users/vmjoseph/checkout-upgrade-1.1.3
fhammerl/bump-gh-package-versions
users/vmjoseph/no-proxy
vmjoseph/toolkit-windows-exec
vmjoseph/silent-rev-parse
ericsciple-patch-1
hross-zeit-vercel
master
users/ericsciple/m167workflow
users/ericsciple/m167sub
test-data/v2/submodule-ssh-url-level-2
test-data/v2/submodule-ssh-url
test-data/v2/submodule-ssh-url-level-1
test-data/v2/submodule
users/ericsciple/m166refs
users/tihuang/proxysupport
users/ericsciple/m164submodule
users/ericsciple/m163tarball_temp
users/ericsciple/m163tarball_efficient_download
users/ericsciple/m162pr
users/ericsciple/test-pr
test-data/v2/basic
test-data/v2/submodule-level-1
test-data/v2/submodule-level-2
test-data/v2/lfs
test-data/v2/side-by-side-2
test-data/v2/side-by-side-1
revert-56-users/tihuang/checkoutV1_1
releases/v1
Update-description
v2-beta
v1
v1.2.0
v1.1.0
1.0.0
v1.0.0
v2
v2.0.0
v2.1.0
v2.1.1
v2.2.0
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.4.0
v2.4.1
v2.4.2
v2.5.0
v2.6.0
v2.7.0
v3
v3.0.0
v3.0.1
v3.0.2
v3.1.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.5.1
v3.5.2
v3.5.3
v3.6.0
v4
v4.0.0
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4
v4.1.5
v4.1.6
v4.1.7
v4.2.0
v4.2.1
v4.2.2
v4.3.0
v5
v5.0.0
${ noResults }
2 Commits (a5ac7e51b41094c92402da3b24376905380afc29)
Author | SHA1 | Message | Date |
---|---|---|---|
|
96f53100ba
|
Mark test scripts with Bash'isms to be run via Bash (#1377)
In #1369, I mistakenly replaced the hash-bang lines in the two new scripts with `#!/bin/sh`, missing that both files contain the Bash'ism `[[`. Symptom as per https://github.com/actions/checkout/actions/runs/5200323109/jobs/9378889172?pr=1369#step:12:5 __test__/verify-sparse-checkout.sh: 58: [[: not found Let's change those hash-bang lines back to `#!/bin/bash`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> |
2 years ago |
|
d106d4669b
|
Add support for sparse checkouts (#1369)
* Add support for sparse checkouts * sparse-checkout: optionally turn off cone mode While it _is_ true that cone mode is the default nowadays (mainly for performance reasons: code mode is much faster than non-cone mode), there _are_ legitimate use cases where non-cone mode is really useful. Let's add a flag to optionally disable cone mode. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * Verify minimum Git version for sparse checkout The `git sparse-checkout` command is available only since Git version v2.25.0. The `actions/checkout` Action actually supports older Git versions than that; As of time of writing, the minimum version is v2.18.0. Instead of raising this minimum version even for users who do not require a sparse checkout, only check for this minimum version specifically when a sparse checkout was asked for. Suggested-by: Tingluo Huang <tingluohuang@github.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * Support sparse checkout/LFS better Instead of fetching all the LFS objects present in the current revision in a sparse checkout, whether they are needed inside the sparse cone or not, let's instead only pull the ones that are actually needed. To do that, let's avoid running that preemptive `git lfs fetch` call in case of a sparse checkout. An alternative that was considered during the development of this patch (and ultimately rejected) was to use `git lfs pull --include <path>...`, but it turned out to be too inflexible because it requires exact paths, not the patterns that are available via the sparse checkout definition, and that risks running into command-line length limitations. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --------- Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Co-authored-by: Daniel <daniel.fernandez@feverup.com> |
2 years ago |