Skip to content
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

Add commit_range to template context #1041

Open
jdrst opened this issue Feb 7, 2025 · 4 comments
Open

Add commit_range to template context #1041

jdrst opened this issue Feb 7, 2025 · 4 comments
Assignees
Labels
feature/request New feature or request good first issue Good for newcomers

Comments

@jdrst
Copy link

jdrst commented Feb 7, 2025

Hey,

i would like to add links to diffs of certain files to the changelog.
Is there a way to get the commit range git cliff uses or was called with (in my case git cliff commitA..commitB)? As far as i could see it's not part of the context.

Thanks

Copy link

welcome bot commented Feb 7, 2025

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

@orhun
Copy link
Owner

orhun commented Feb 20, 2025

Good idea! We simply need to add commit_range to Release struct and update the other parts accordingly. See #721 for an example.

Marking this as good-first-issue, would you be interested in contributing?

@orhun orhun added feature/request New feature or request good first issue Good for newcomers labels Feb 20, 2025
@orhun orhun changed the title Get commit range in context Add commit_range to template context Feb 20, 2025
@jdrst
Copy link
Author

jdrst commented Feb 21, 2025

i'll try to make some time next week and have a look.

@orhun
Copy link
Owner

orhun commented Feb 21, 2025

Perfect, assigned to you! Let me know if you need any assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants