Boost logo

Boost :

Subject: Re: [boost] [conversion] Isolating the phantom file changes problem
From: Dave Abrahams (dave_at_[hidden])
Date: 2013-11-27 11:17:53

Gavin Lambert <gavinl_at_[hidden]> writes:

> I'm just suggesting that (if it makes sense with how the conversion
> tool actually works -- I don't know much about it) a higher priority
> rule be added to the conversion tool that says "mime type */*+xml in
> svn => text attribute in git", which would then result in SVG files
> being marked as text and all other files marked as images.

Such changes can be made.

> Though it'd still require the files to be dos2unix'd if the conversion
> was run on Linux

As mentioned elsewhere, that's incorrect. The files are never checked
out into a working copy during the conversion process. That would be

> -- if it was run on Windows then the text attribute by itself should
> fix the problem.
> Another possibility might be to explicitly mark all text files in
> .gitattributes with eol=lf and then run the conversion; I think that
> would fix the repository blobs,

What goes into .gitattributes has no effect on the content of blobs in
the repository.

> and then the eol attribute can be removed for actual use.

Boost list run by bdawes at, gregod at, cpdaniel at, john at