Skip to content

--from-context doesn't include footers #837

@muja

Description

@muja

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

 ERROR git_cliff > Template render error:
Variable `commit.footers` not found in context while rendering 'template'

Steps To Reproduce

You can test with my repository's template at https://github.com/muja/unrar.rs, for example where I use footers.

git cliff --context gives footers, however

git cliff --context | git cliff --context --from-context - has no footers.

Expected behavior

footers are read from context

Screenshots / Logs

No response

Software information

  • Project version: 2.5.0

Additional context

Possibly other values are also missing? I haven't fully compared the contexts

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions