You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Results: Checked-out tree contains top-level files in the repo, per the sparse-checkout documentation on cone mode Results: Only subdirectory specified is present in the tree
Note: Cone mode became the default in Git 2.37. In earlier versions of Git, cone mode needs to be set explicitly to work (e.g. git sparse-checkout set --cone). But the Checkout action is not doing this.
The text was updated successfully, but these errors were encountered:
samkearney
changed the title
Option sparse-checkout-cone-mode is not honored correctly when using git < 2.37
[bug] Option sparse-checkout-cone-mode is not honored correctly when using git < 2.37
Aug 28, 2024
To reproduce:
On a runner/image with git < 2.37 (for example, Ubuntu 22.04):
Expected Results: Checked-out tree contains top-level files in the repo, per the sparse-checkout documentation on cone mode
Results: Only subdirectory specified is present in the tree
Note: Cone mode became the default in Git 2.37. In earlier versions of Git, cone mode needs to be set explicitly to work (e.g.
git sparse-checkout set --cone
). But the Checkout action is not doing this.The text was updated successfully, but these errors were encountered: