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
threads / discuss / 34943
Subject: sparse checkout file with windows line endings doesn't work
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
On Mon, Sep 16, 2013 at 8:20 PM, Martin Gregory <marting@adelaideinterim.com.au> 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
Hi Duy,
Thanks again for taking a look at these two reports.
>> 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
Hi Duy,
>> 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