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

sparse checkout syntax does not work in git version 1.9.5.msysgit.0

From
Ssamt <sam777t@gmail.com>
Date
Feb 23, 2015, 22:41 UTC
Message-ID
<1424731264183-7625887.post@n2.nabble.com>

The platform is Windows server 2008 Git version is 1.9.5.msysgit.0

I have a repository and I want EVERYTHING in the repository to be checked out into the workspace EXCEPT one directory. I have a machine with git version 1.7.8.msysgit.0 and the following syntax in .git/info/sparse-checkout file works fine:

/* !engine/testdata/scenarios

This syntax does not seem to work with 1.9.5.msysgit.0 version. I have tried to alter the syntax based on some suggestions on the internet, but none of the combinations work. Git still attempts to checkout the directory that I do not want. Does anyone know what syntax works for version 1.9.5.msysgit.0 ? Thanks.

-- View this message in context: http://git.661346.n2.nabble.com/sparse-checkout-syntax-does-not-work-in-git-version-1-9-5-msysgit-0-tp7625887.html Sent from the git mailing list archive at Nabble.com.

Next: Duy Nguyen
Message 1 of 2 in “sparse checkout syntax does not work in git version 1.9.5.msysgit.0”
  1. samtFeb 23, 2015
  2. Duy NguyenFeb 25, 2015

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.