Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 57ea95f

Browse filesBrowse files
unleashedwoile
authored andcommitted
feat(changelog): expose commit parents' digests when processing commits
COMMIT_DATA in test_changelog.py had to be type annotated to avoid an issue with mypy linting when creating a GitCommit where the tool would expect the wrong type for the arguments.
1 parent d7b1a89 commit 57ea95f
Copy full SHA for 57ea95f

File tree

2 files changed

+74
-2
lines changed
Filter options

2 files changed

+74
-2
lines changed

‎commitizen/changelog.py

Copy file name to clipboardExpand all lines: commitizen/changelog.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ def process_commit_message(
172172
):
173173
message: dict = {
174174
"sha1": commit.rev,
175+
"parents": commit.parents,
175176
"author": commit.author,
176177
"author_email": commit.author_email,
177178
**parsed.groupdict(),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.