Skip to content

respect .gitignore rules at any depth of the directory tree #1

@sifatulrabbi

Description

@sifatulrabbi

Ignore monitoring files that are listed inside a .gitignore. Filepatrol should ignore .gitignore files from the same parent directory or its child directories.

For example in the following directory structure if the .gitignore specifies to ignore the file3. Then only the file3 on the parent1 directory and in the parent1/child3 directory will be ignored. The file3 in the parent2 directory will not be affected.

parent/
├── parent1/
│   ├── .gitignore
│   ├── file3
│   ├── child1/
│   │   ├── file1
│   │   └── file2
│   ├── child2/
│   │   ├── file1
│   │   └── file2
│   └── child3/
│       ├── file1
│       ├── file2
│       └── file3
└── parent2/
    ├── file1
    ├── file2
    └── file3

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