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

Re: "Sparse checkout leaves no entry on working directory" all the time on Windows 7 on Git 1.8.5.2.msysgit.0

From
Duy Nguyen <pclouds@gmail.com>
Date
Feb 6, 2014, 13:30 UTC
Message-ID
<CACsJy8CG=d4jdQMW0tddrqUPCa+72yZe6i7LDBisWNo6KPF03g@mail.gmail.com>
In-Reply-To
<52F38C1D.709@viscovery.net>
On Thu, Feb 6, 2014 at 8:20 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 10 quoted lines
> Am 2/6/2014 12:54, schrieb konstunn@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.

I suspected the same thing. But it looks like we do trim CRLF. Another option is the file is encoded in utf-16 or some encoding which ascii is not a subset of.

-- 
Duy
Previous: Johannes SixtNext: Constantine Gorbunov
Message 3 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.