-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--from-context
doesn't include footers
#837
Comments
Good find! This is due to git-cliff/git-cliff-core/src/commit.rs Line 427 in 08e761c
git-cliff/git-cliff-core/src/commit.rs Lines 405 to 419 in 08e761c
We simply need to add a I might get to it soon, marking it as good first issue in case someone wants to work on it :) |
FYI I compared the diffs between
|
Thanks for the comparison! It will definitely come in handy while working on the fix. |
@orhun But as @muja mentioned above, Looking at the serialization code, I found that we are trying to convert some fields from Maybe we should retain some information so that after writing to git-cliff/git-cliff-core/src/commit.rs Lines 221 to 224 in 08e761c
What do you think? |
Hey @dqkqd, that sounds reasonable 👍🏼 I'm looking at your PR right now :) Thanks |
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
* feat(commit): add `raw_message` to `Commit` * test(fixtures): add test generate all fields in conventional commits * test(fixtures): add test do not discard missing fields in conventional commits when reading from context * docs(website): add `raw_message` fields to `context.md`
Is there an existing issue for this?
Description of the bug
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
givesfooters
, howevergit cliff --context | git cliff --context --from-context -
has no footers.Expected behavior
footers
are read from contextScreenshots / Logs
No response
Software information
Additional context
Possibly other values are also missing? I haven't fully compared the contexts
The text was updated successfully, but these errors were encountered: