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

2014-02-06 Thread Duy Nguyen
On Thu, Feb 6, 2014 at 8:20 PM, Johannes Sixt  wrote:
> Am 2/6/2014 12:54, schrieb konst...@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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2014-02-06 Thread Johannes Sixt
Am 2/6/2014 12:54, schrieb konst...@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.

-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html