Boost logo

Boost :

Subject: Re: [boost] Looking for git help for Boost releases
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2014-06-03 15:37:08


On Jun 3, 2014, at 10:02 AM, Daniel James <dnljms_at_[hidden]> wrote:

> On 3 June 2014 17:15, Niall Douglas <s_sourceforge_at_[hidden]> wrote:
>> On 3 Jun 2014 at 8:39, Marshall Clow wrote:
>>
>>> One of the missing pieces that we had in SVN was "svn export", which let
>>> you check out a particular branch/revision to a local folder, w/o any of
>>> the SVN infrastructure (such as .svn folders). It also let you set the
>>> line endings of the files, so I could make a release with Windows line
>>> endings on a non-windows computer.
>>
>> git archive works for single repos. No submodule support though, and
>> no CRLF forcing support.
>
> I've just been looking into setting line endings using 'git archive',
> it can be done using something like:
>
> git -c core.autocrlf=false -c core.eol=crlf archive master
>
> I expect similar configuration settings would work for 'git clone’.

Sadly, this doesn’t work for me, because I have
[core]
        excludesfile = /Users/marshall/.gitignore
        autocrlf = input

in my .gitconfig file.

git -c core.autocrlf=false -c core.eol=crlf clone git_at_[hidden]:boostorg/boost.git --branch master --single-branch /Sources/boost/releases/windows
Cloning into '/Sources/boost/releases/windows'...
error: core.autocrlf=input conflicts with core.eol=crlf
fatal: bad config file line 8 in /Users/marshall/.gitconfig

which is really bizarre, because I’m setting “core.autocrlf” right there on the command line.

— Marshall


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk