git/list[1] front-page[2] threads[3] people[4] search[5] about
 

globs in partial checkout?

From
MTMichael S. Tsirkin <mst@mellanox.co.il>
Date
Dec 10, 2006, 20:00 UTC
Message-ID
<20061210200029.GF1708@mellanox.co.il>
In-Reply-To
<e5bfff550612101151r5e77ddc0w8f61f36fc1f2920e@mail.gmail.com>

I'm trying to checkout some files after doing "clone -n". Should using globs there work? It doesn't:

st@mst-lt:~/scm/wireless-dev$ git checkout master 'include/net/ieee80211*.h' error: pathspec 'include/net/ieee80211*.h' did not match any file(s) known to git. Did you forget to 'git add'? mst@mst-lt:~/scm/wireless-dev$ git ls-tree master -- include/net/ | grep iee 100644 blob b174ebb277a96668f058e469b0753503c34f164b include/net/ieee80211.h 100644 blob eb476414fd726701d032e9e517751b9d3f7e38df include/net/ieee80211_crypt.h 100644 blob 429b73892a5fc62f91e4a4b05da40859604fa791 include/net/ieee80211_radiotap.h 100644 blob 617b672b1132e7fa3ff5f9c940b1692520dc8483 include/net/ieee80211softmac.h 100644 blob 4ee3ad57283fa3370bd2d1f71cd6ae559b556dbc include/net/ieee80211softmac_wx.h mst@mst-lt:~/scm/wireless-dev$ git checkout master include/net/ieee80211.h include/net/ieee80211_crypt.h include/net/ieee80211_radiotap.h include/net/ieee80211softmac.h include/net/ieee80211softmac_wx.h

Next: Linus Torvalds
Message 1 of 3 in “globs in partial checkout?”
  1. Michael S. TsirkinDec 10, 2006
  2. Linus TorvaldsDec 10, 2006
  3. Michael S. TsirkinDec 10, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.