Skip to content

Misleading description or behavior of the --skip-gitignore option #221

@php-coder

Description

@php-coder
# pdd --version 0.23.1 # pdd --help | grep gitignore  --skip-gitignore Don't look into .gitignore for excludes

The description makes me think that inspecting of .gitignore is enabled by default and this behavior can be disabled with the option. In fact, pdd disrespects my .gitignore and this option enables looking into .gitignore file.

Here is how I reproduced this:

# pdd -f pdd.xml -v Found 1 lines in /data/mystamps/.pdd My version is 0.23.1 Ruby version is 2.7.8 at x86_64-linux Reading from root dir /data/mystamps Excluding src/test/wiremock/**/* ... /data/mystamps/target/mystamps.war.original is a binary file (34117363 bytes) ... # pdd -f pdd.xml -v --skip-gitignore Found 1 lines in /data/mystamps/.pdd My version is 0.23.1 Ruby version is 2.7.8 at x86_64-linux Reading from root dir /data/mystamps Excluding src/test/wiremock/**/* Excluding target/ ... # grep target .gitignore target/

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