You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2015/11/03 11:47:27 UTC

[jira] [Comment Edited] (CB-9919) Docs gen uses Windows line endings on Windows

    [ https://issues.apache.org/jira/browse/CB-9919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987064#comment-14987064 ] 

Sergey Shakhnazarov edited comment on CB-9919 at 11/3/15 10:47 AM:
-------------------------------------------------------------------

[~riknoll] There were mixed line endings in the plugin docs - [regenerated them and added gitattributes to ensure LFs|https://github.com/apache/cordova-plugin-camera/pull/133].

Could you please try yo update to it, run *npm install* and try again?

There are no CRLF issues on my local configuration taking into account the settings in *git config --list --global*:
core.eol=lf
core.autocrlf=false

If the issue still reproduces please paste the output from *npm list* (from the plugin root dir), *git config --list* and *git config --list --global*.


was (Author: daserge):
[~riknoll] There were mixed line endings in the plugin docs - regenerated them and added gitattributes to ensure LFs.

Could you please try yo update to it, run *npm install* and try again?

There are no CRLF issues on my local configuration taking into account the settings in *git config --list --global*:
core.eol=lf
core.autocrlf=false

If the issue still reproduces please paste the output from *npm list* (from the plugin root dir), *git config --list* and *git config --list --global*.

> Docs gen uses Windows line endings on Windows
> ---------------------------------------------
>
>                 Key: CB-9919
>                 URL: https://issues.apache.org/jira/browse/CB-9919
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Windows 10
>            Reporter: Richard B Knoll
>
> The new precommit hook that generates the docs in the camera repo uses the line endings of the environment you're developing in. This means that whenever I commit in in Windows, it tries to commit a huge diff in the README because it changes all of the line endings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org