Boost logo

Boost :

Subject: Re: [boost] [git help] Cloning the boost git repository recursively seems to have issues.
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2013-11-01 13:05:56


On 1 Nov 2013 at 0:37, Ahmed Charles wrote:

> Is there a local change that I can make that would make the situation better?

Yes.

# Remove everything from the index.
git rm --cached -r .

# Write both the index and working directory from git's database.
git reset --hard

# Prepare to make a commit by staging all the files that will get
normalized.
# This is your chance to inspect which files were never normalized.
You should
# get lots of messages like: "warning: CRLF will be replaced by LF in
file."
git add .

# Commit
git commit -m "Normalize line endings"

The painful part is you'll need to execute this for every git
submodule :(

Niall

-- 
Currently unemployed and looking for work.
Work Portfolio: http://careers.stackoverflow.com/nialldouglas/



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