sparse checkout file with windows line endings doesn't work

4 messages, 2 authors, 2016-06-15 · open the first message on its own page

sparse checkout file with windows line endings doesn't work

From: Martin Gregory <hidden>
Date: 2016-06-15 22:58:46

Hi,

Please see  http://pastebin.com/zMXvvXuy

It shows that if the .git/info/sparsecheckout file is in windows format
(windows line ending) then it doesn't work.

Thanks for any advice.

This is git 1.8.3.msysgit.0

Martin

Re: sparse checkout file with windows line endings doesn't work

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:58:46

On Mon, Sep 16, 2013 at 8:20 PM, Martin Gregory
[off-list ref] wrote:
Hi,

Please see  http://pastebin.com/zMXvvXuy

It shows that if the .git/info/sparsecheckout file is in windows format
(windows line ending) then it doesn't work.
And it does work for me with CRLF endings (again tested on Linux). Can
you send me your sparse-checkout file? Zip it if needed. I just wanted
to make sure there's no weird visible characters there. If none is
found, then I don't know what causes your problem. Perhaps msys guys
can help.
-- 
Duy

re[2]: sparse checkout file with windows line endings doesn't work

From: Martin Gregory <hidden>
Date: 2016-06-15 22:58:47

Hi Duy,

Thanks again for taking a look at these two reports.
quoted
 And it does work for me with CRLF endings (again tested on Linux).
Yes, will do.

I will try, myself, on Linux, as well.  It seems quite conceivable its the
sort of thing that only happens under Windows.

Regards,

Martin

re[2]: sparse checkout file with windows line endings doesn't work

From: Martin Gregory <hidden>
Date: 2016-06-15 22:58:51

Hi Duy,
quoted
 And it does work for me with CRLF endings (again tested on Linux). Can
 you send me your sparse-checkout file? Zip it if needed.
sparse-checkout created with

echo /CONFIGURATION > .git\info\sparse-checkout

on Windows.

Attached file created with

tar cvzf sparsecheckout.tar.gz .git/info/sparse-checkout

in gitbash shell on Windows.

Regards,

Martin


--
Martin Gregory
Senior Consultant, Adelaide Interim
P:   +61 8 7200 5350
M:   +61 402 410 971
F:   +61 8 7200 3725
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help