Skip to content

Automatic --include-paths does not respect --workdir #996

Open
@DaniPopes

Description

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

The automatic --include-paths detection added in ceda1f7 does not respect --workdir.

Steps To Reproduce

cd $root/subdir && git cliff --workdir $root

Expected behavior

--workdir $root includes changes in the entire repository as it was doing before, rather than whatever directory I'm currently in.

Screenshots / Logs

No response

Software information

  • Operating system: N/A
  • Rust version: N/A
  • Project version: 2.7.0 (main @ e85888f)

Additional context

No response

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions