mirror of
https://github.com/orhun/git-cliff.git
synced 2026-10-12 02:20:37 +00:00
Setting `--workdir` produced an empty changelog because the derived include pattern was built from the raw workdir (an absolute or cwd-relative path), while diff paths are matched relative to the repository root. The pattern therefore matched nothing. Resolve the workdir against the repository root after discovery and add a repo-relative include pattern instead. When the workdir is the repository root, no filter is added so every commit is kept. Fixes #1369 Co-authored-by: Orhun Parmaksız <[email protected]>