fawaz ahmed0 wrote: > Please refer: https://github.com/git/git/commit/8dd7c4739bded62175bea1f7518d993b39b51f90#commitcomment-78433458 > > > Using patterns in cone mode should fail, but it doesn't seem to fail on macOS-12(github actions) Can you confirm which version is being used on that MacOS agent? For example, you could add a call to 'git version' in the workflow and see what it prints out. I suspect that the agent may be using an older version of Git, which would mean that the sparse-checkout is initialized in *non* cone mode. For what it's worth, my local development machine is also MacOS 12 (running Git v2.37), and I'm correctly seeing the error in a cone mode sparse-checkout. > > Step to reproduce(try in macOS-12): > > git clone --filter=blob:none --no-checkout --depth 1 --sparse https://github.com/fawazahmed0/currency-api.git . > git sparse-checkout add 'latest/*' > > Thanks > Fawaz Ahmed