Skip to content

ignore: need to ensure a linebreak #476

@jankatins

Description

@jankatins

If .gitignore does not include a linebreak (because I forgot...), the git ignore xxx/ will include the new ignore pattern at the end without a leinreak inbetween:

This .gitignore:

pattern/
# no linebreak at the end of the file
git ignore build/

will result in:

pattern/build/
# linbreak

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions