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

Re:

From
CGConstantine Gorbunov <konstunn@ngs.ru>
Date
Feb 6, 2014, 19:56 UTC
Message-ID
<loom.20140206T205117-635@post.gmane.org>
In-Reply-To
<52F38C1D.709@viscovery.net>
Johannes Sixt <j.sixt <at> viscovery.net> writes:
Show 12 quoted lines
> 
> Am 2/6/2014 12:54, schrieb konstunn <at> ngs.ru:
> > However I typed the checkout directory in file
> > ..git/info/sparse-checkout by using different formats with
> > and without the leading and the trailing slashes, with and
> > without asterisk after trailing slash, having tried all
> > the possible combinations, but, all the same,
> > nevertheless, the error occured.
> 
> Make sure that you do not use CRLF line terminators in the sparse-checkout
> file.
> 

This is it. Right you are. I've just tried to edit "manually" with notepad .git\info\sparse-checkout and found out that there really was a CRLF line terminator. After I removed it I managed to succeed in my sparse checkout.

Previous: Duy Nguyen
Message 4 of 4 in “"Sparse checkout leaves no entry on working directory" all the time on Windows 7 on Git 1.8.5.2.msysgit.0”
  1. konstunn@ngs.ruFeb 6, 2014
  2. Johannes SixtFeb 6, 2014
  3. Duy NguyenFeb 6, 2014
  4. Constantine GorbunovFeb 6, 2014

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.