Skip to content

Ignore negation works differently than it Git #69

Open
@alerque

Description

I just struggled with a Flake for a while and finally figured out some sources were being excluded from the Flake because ignore rules were being handled differently than Git itself does.

!scripts/*.in
scripts/*

In Git, this will result in all the autoconf template files ending with .in being tracked and everything else in the scripts directory (the AC_CONFIG_FILE output in my case) ignored. With gitignoreSource the order of operations is different and everything is getting ignored.

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