opscode/chef — comment on commit 6b20399d1c64f665d25b93b242fa6da4eb987f70
File:  line 0
By jkeiser:

Actually, it depends whether you are mounting your Unix share, or whether
you are using git on Windows. Your Unix share will not have the line
endings, and the spec data files you download with git will. Removing this
change makes it work with normal Windows tools. Both need to be the same
mode (either both ASCII or both bin).

Removing this change made the CIT machine pass.

--John

On Mon, Dec 19, 2011 at 7:13 PM, Seth Chisamore <
reply@reply.github.com
> wrote:

> I actually added this change to make this spec pass on Windows! If you
> don't set the file to binmode the checksum compare down in
> `Chef::Provider::CookookFile` gets all screwed up as CRLF are added at the
> end of lines written in the Tempfile.
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/opscode/chef/commit/6b20399d1c64f665d25b93b242fa6da4eb987f70#commitcomment-808254
>