Skip to content

bat files shows as modified when clone repo in linux environment #330

Closed
@entertainyou

Description

@entertainyou

When I checked out io.js source code, git status shows as:

On branch v1.x
Your branch is up-to-date with 'origin/v1.x'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

    modified:   deps/uv/docs/make.bat
    modified:   tools/gyp/gyp.bat
    modified:   tools/gyp/samples/samples.bat
    modified:   tools/wrk/deps/luajit/src/msvcbuild.bat
    modified:   tools/wrk/deps/luajit/src/xedkbuild.bat

Seems caused by 43e4c90, it add '*.bat text eol=crlf' into .gitattributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions