-e option does not work anymore #2

Open
opened 2023-03-24 12:01:27 +01:00 by deronnax · 6 comments

it does not exclude directories:

(venv) ➜  python-docs-fr git:(3.11) ✗ potodo -e c-api


# c-api (18.60% done)

- allocation.po                    8 /   9 ( 88.0% translated), 1 fuzzy
- arg.po                          75 / 195 ( 38.0% translated), 53 fuzzy
[...]
it does not exclude directories: ``` (venv) ➜ python-docs-fr git:(3.11) ✗ potodo -e c-api # c-api (18.60% done) - allocation.po 8 / 9 ( 88.0% translated), 1 fuzzy - arg.po 75 / 195 ( 38.0% translated), 53 fuzzy [...] ```
Owner
Is it related to: https://github.com/mherrmann/gitignore_parser/issues/43?
Author

I don't know. Why would it?

I don't know. Why would it?
Owner

To know you can try as potodo -e c-api/ (note the trailing slash).

To know you can try as `potodo -e c-api/` (note the trailing slash).
Author

Ah, I confirm adding a trailing slash solves the issue. I suggest we keep this issue open until it is solved upstream.

Ah, I confirm adding a trailing slash solves the issue. I suggest we keep this issue open until it is solved upstream.
Contributor

For what it's worth the upstream is fixed now, in version 1.1.0. https://github.com/mherrmann/gitignore_parser/issues/43#issuecomment-1837308909

For what it's worth the upstream is fixed now, in version 1.1.0. https://github.com/mherrmann/gitignore_parser/issues/43#issuecomment-1837308909
Owner

This specific case maybe, but there's still differences between gitignore-parser and gitignore: https://github.com/mherrmann/gitignore_parser/pull/66

This specific case maybe, but there's still differences between gitignore-parser and gitignore: https://github.com/mherrmann/gitignore_parser/pull/66
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AFPy/potodo#2
No description provided.