{"version":"2.1.324","anchor":"sparse-git-subdir-plugin-checkout-reworked","canonical_anchor":"sparse-git-subdir-plugin-checkout-reworked","heading":"Plugin git installs gain pinned-ref cloning, reworked sparse checkout and a clearer sign-in error","tier":"notice","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/sparse-git-subdir-plugin-checkout-reworked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Plugin git installs gain pinned-ref cloning, reworked sparse checkout and a clearer sign-in error\n\nPlugin installs from git now clone pinned refs in two steps, run sparse checkout per pattern group, and explain HTTPS sign-in failures\n\n**Unclear.** Which git versions are now enough to install these plugins is not stated.\n\n**What**\n\nSome plugins are installed by copying, or cloning, a git repository. The cloning steps changed:\n\n- The ref, the branch, tag or commit to install, is now validated first.\n\n- For some refs, the clone skips `--depth 1` and uses a blob filter, `--no-checkout` and `--origin origin`, then checks out the pinned ref as a second step. Before, every clone used `--depth 1`.\n\n- Sparse checkout, which fetches only part of a repository for plugins kept in a subfolder, no longer runs a single `sparse-checkout set --cone`. It now runs a list of git commands, one per pattern group. Failures read \"git sparse-checkout failed\", and the old hint that cone mode needs git 2.25 or later is gone.\n\n- The HTTPS sign-in failure message now says Claude Code runs the clone with terminal prompts and askpass programs turned off and tells credential helpers not to prompt.\n\n**Why**\n\nPlugins pinned to a specific ref or kept in a repository subfolder now install through different steps. If a clone fails to sign in, the message explains that no password prompt will appear during the clone.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}