News for hackers. Stuff that matters.
Re:A Git story: Not so fun this time by nolist_policy on Wednesday July 03, 2024 @04:22PM (#40869629)
You can't (since commits are snapshots of the repo root). You can have this approximation however:

    git clone --filter=blob:none --sparse https://github.com/neovim/neovim
    cd neovim
    git sparse-checkout add scripts
Unfortunately, GitHub does not support --filter=sparse:oid=master:scripts, so blobs will be fetched on demand as you use the repo.

There are no comments on this comment yet.