Skip to content

Setting workdir doesn't change included paths #1292

@j-g00da

Description

@j-g00da

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

When setting a --workdir path, one would assume this would also change included paths. Currently the included paths stay the same.

Current workaround:

git cliff -w my_crate --include-path my_crate/

Steps To Reproduce

In a workspace with multiple crates run git cliff -w my_crate from repository root.
The resulting changelog will include changes from all crates.

Expected behavior

-w some_path should proabably imply --include-path some_path/

Screenshots / Logs

No response

Software information

  • Operating system: arch btw.
  • Rust version: rustc 1.90.0 (1159e78c4 2025-09-14)
  • Project version: git-cliff 2.10.1

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions