Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fc287fb

Browse files
committedMar 21, 2025
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 e29fd6d commit fc287fb

File tree

2 files changed

+74
-2
lines changed

2 files changed

+74
-2
lines changed
 

‎commitizen/changelog.py

+1
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(),

‎tests/test_changelog.py

+73-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import re
22
from dataclasses import dataclass
33
from pathlib import Path
4-
from typing import Optional
4+
from typing import Any, Optional
55

66
import pytest
77
from jinja2 import FileSystemLoader
@@ -14,443 +14,512 @@
1414
from commitizen.exceptions import InvalidConfigurationError
1515
from commitizen.version_schemes import Pep440
1616

17-
COMMITS_DATA = [
17+
COMMITS_DATA: list[dict[str, Any]] = [
1818
{
1919
"rev": "141ee441c9c9da0809c554103a558eb17c30ed17",
20+
"parents": ["6c4948501031b7d6405b54b21d3d635827f9421b"],
2021
"title": "bump: version 1.1.1 → 1.2.0",
2122
"body": "",
2223
"author": "Commitizen",
2324
"author_email": "author@cz.dev",
2425
},
2526
{
2627
"rev": "6c4948501031b7d6405b54b21d3d635827f9421b",
28+
"parents": ["ddd220ad515502200fe2dde443614c1075d26238"],
2729
"title": "docs: how to create custom bumps",
2830
"body": "",
2931
"author": "Commitizen",
3032
"author_email": "author@cz.dev",
3133
},
3234
{
3335
"rev": "ddd220ad515502200fe2dde443614c1075d26238",
36+
"parents": ["ad17acff2e3a2e141cbc3c6efd7705e4e6de9bfc"],
3437
"title": "feat: custom cz plugins now support bumping version",
3538
"body": "",
3639
"author": "Commitizen",
3740
"author_email": "author@cz.dev",
3841
},
3942
{
4043
"rev": "ad17acff2e3a2e141cbc3c6efd7705e4e6de9bfc",
44+
"parents": ["56c8a8da84e42b526bcbe130bd194306f7c7e813"],
4145
"title": "docs: added bump gif",
4246
"body": "",
4347
"author": "Commitizen",
4448
"author_email": "author@cz.dev",
4549
},
4650
{
4751
"rev": "56c8a8da84e42b526bcbe130bd194306f7c7e813",
52+
"parents": ["74c6134b1b2e6bb8b07ed53410faabe99b204f36"],
4853
"title": "bump: version 1.1.0 → 1.1.1",
4954
"body": "",
5055
"author": "Commitizen",
5156
"author_email": "author@cz.dev",
5257
},
5358
{
5459
"rev": "74c6134b1b2e6bb8b07ed53410faabe99b204f36",
60+
"parents": ["cbc7b5f22c4e74deff4bc92d14e19bd93524711e"],
5561
"title": "refactor: changed stdout statements",
5662
"body": "",
5763
"author": "Commitizen",
5864
"author_email": "author@cz.dev",
5965
},
6066
{
6167
"rev": "cbc7b5f22c4e74deff4bc92d14e19bd93524711e",
68+
"parents": ["1ba46f2a63cb9d6e7472eaece21528c8cd28b118"],
6269
"title": "fix(bump): commit message now fits better with semver",
6370
"body": "",
6471
"author": "Commitizen",
6572
"author_email": "author@cz.dev",
6673
},
6774
{
6875
"rev": "1ba46f2a63cb9d6e7472eaece21528c8cd28b118",
76+
"parents": ["c35dbffd1bb98bb0b3d1593797e79d1c3366af8f"],
6977
"title": "fix: conventional commit 'breaking change' in body instead of title",
7078
"body": "closes #16",
7179
"author": "Commitizen",
7280
"author_email": "author@cz.dev",
7381
},
7482
{
7583
"rev": "c35dbffd1bb98bb0b3d1593797e79d1c3366af8f",
84+
"parents": ["25313397a4ac3dc5b5c986017bee2a614399509d"],
7685
"title": "refactor(schema): command logic removed from commitizen base",
7786
"body": "",
7887
"author": "Commitizen",
7988
"author_email": "author@cz.dev",
8089
},
8190
{
8291
"rev": "25313397a4ac3dc5b5c986017bee2a614399509d",
92+
"parents": ["d2f13ac41b4e48995b3b619d931c82451886e6ff"],
8393
"title": "refactor(info): command logic removed from commitizen base",
8494
"body": "",
8595
"author": "Commitizen",
8696
"author_email": "author@cz.dev",
8797
},
8898
{
8999
"rev": "d2f13ac41b4e48995b3b619d931c82451886e6ff",
100+
"parents": ["d839e317e5b26671b010584ad8cc6bf362400fa1"],
90101
"title": "refactor(example): command logic removed from commitizen base",
91102
"body": "",
92103
"author": "Commitizen",
93104
"author_email": "author@cz.dev",
94105
},
95106
{
96107
"rev": "d839e317e5b26671b010584ad8cc6bf362400fa1",
108+
"parents": ["12d0e65beda969f7983c444ceedc2a01584f4e08"],
97109
"title": "refactor(commit): moved most of the commit logic to the commit command",
98110
"body": "",
99111
"author": "Commitizen",
100112
"author_email": "author@cz.dev",
101113
},
102114
{
103115
"rev": "12d0e65beda969f7983c444ceedc2a01584f4e08",
116+
"parents": ["fb4c85abe51c228e50773e424cbd885a8b6c610d"],
104117
"title": "docs(README): updated documentation url)",
105118
"body": "",
106119
"author": "Commitizen",
107120
"author_email": "author@cz.dev",
108121
},
109122
{
110123
"rev": "fb4c85abe51c228e50773e424cbd885a8b6c610d",
124+
"parents": ["17efb44d2cd16f6621413691a543e467c7d2dda6"],
111125
"title": "docs: mkdocs documentation",
112126
"body": "",
113127
"author": "Commitizen",
114128
"author_email": "author@cz.dev",
115129
},
116130
{
117131
"rev": "17efb44d2cd16f6621413691a543e467c7d2dda6",
132+
"parents": ["6012d9eecfce8163d75c8fff179788e9ad5347da"],
118133
"title": "Bump version 1.0.0 → 1.1.0",
119134
"body": "",
120135
"author": "Commitizen",
121136
"author_email": "author@cz.dev",
122137
},
123138
{
124139
"rev": "6012d9eecfce8163d75c8fff179788e9ad5347da",
140+
"parents": ["0c7fb0ca0168864dfc55d83c210da57771a18319"],
125141
"title": "test: fixed issues with conf",
126142
"body": "",
127143
"author": "Commitizen",
128144
"author_email": "author@cz.dev",
129145
},
130146
{
131147
"rev": "0c7fb0ca0168864dfc55d83c210da57771a18319",
148+
"parents": ["cb1dd2019d522644da5bdc2594dd6dee17122d7f"],
132149
"title": "docs(README): some new information about bump",
133150
"body": "",
134151
"author": "Commitizen",
135152
"author_email": "author@cz.dev",
136153
},
137154
{
138155
"rev": "cb1dd2019d522644da5bdc2594dd6dee17122d7f",
156+
"parents": ["9c7450f85df6bf6be508e79abf00855a30c3c73c"],
139157
"title": "feat: new working bump command",
140158
"body": "",
141159
"author": "Commitizen",
142160
"author_email": "author@cz.dev",
143161
},
144162
{
145163
"rev": "9c7450f85df6bf6be508e79abf00855a30c3c73c",
164+
"parents": ["9f3af3772baab167e3fd8775d37f041440184251"],
146165
"title": "feat: create version tag",
147166
"body": "",
148167
"author": "Commitizen",
149168
"author_email": "author@cz.dev",
150169
},
151170
{
152171
"rev": "9f3af3772baab167e3fd8775d37f041440184251",
172+
"parents": ["b0d6a3defbfde14e676e7eb34946409297d0221b"],
153173
"title": "docs: added new changelog",
154174
"body": "",
155175
"author": "Commitizen",
156176
"author_email": "author@cz.dev",
157177
},
158178
{
159179
"rev": "b0d6a3defbfde14e676e7eb34946409297d0221b",
180+
"parents": ["d630d07d912e420f0880551f3ac94e933f9d3beb"],
160181
"title": "feat: update given files with new version",
161182
"body": "",
162183
"author": "Commitizen",
163184
"author_email": "author@cz.dev",
164185
},
165186
{
166187
"rev": "d630d07d912e420f0880551f3ac94e933f9d3beb",
188+
"parents": ["1792b8980c58787906dbe6836f93f31971b1ec2d"],
167189
"title": "fix: removed all from commit",
168190
"body": "",
169191
"author": "Commitizen",
170192
"author_email": "author@cz.dev",
171193
},
172194
{
173195
"rev": "1792b8980c58787906dbe6836f93f31971b1ec2d",
196+
"parents": ["52def1ea3555185ba4b936b463311949907e31ec"],
174197
"title": "feat(config): new set key, used to set version to cfg",
175198
"body": "",
176199
"author": "Commitizen",
177200
"author_email": "author@cz.dev",
178201
},
179202
{
180203
"rev": "52def1ea3555185ba4b936b463311949907e31ec",
204+
"parents": ["3127e05077288a5e2b62893345590bf1096141b7"],
181205
"title": "feat: support for pyproject.toml",
182206
"body": "",
183207
"author": "Commitizen",
184208
"author_email": "author@cz.dev",
185209
},
186210
{
187211
"rev": "3127e05077288a5e2b62893345590bf1096141b7",
212+
"parents": ["fd480ed90a80a6ffa540549408403d5b60d0e90c"],
188213
"title": "feat: first semantic version bump implementation",
189214
"body": "",
190215
"author": "Commitizen",
191216
"author_email": "author@cz.dev",
192217
},
193218
{
194219
"rev": "fd480ed90a80a6ffa540549408403d5b60d0e90c",
220+
"parents": ["e4840a059731c0bf488381ffc77e989e85dd81ad"],
195221
"title": "fix: fix config file not working",
196222
"body": "",
197223
"author": "Commitizen",
198224
"author_email": "author@cz.dev",
199225
},
200226
{
201227
"rev": "e4840a059731c0bf488381ffc77e989e85dd81ad",
228+
"parents": ["aa44a92d68014d0da98965c0c2cb8c07957d4362"],
202229
"title": "refactor: added commands folder, better integration with decli",
203230
"body": "",
204231
"author": "Commitizen",
205232
"author_email": "author@cz.dev",
206233
},
207234
{
208235
"rev": "aa44a92d68014d0da98965c0c2cb8c07957d4362",
236+
"parents": ["58bb709765380dbd46b74ce6e8978515764eb955"],
209237
"title": "Bump version: 1.0.0b2 → 1.0.0",
210238
"body": "",
211239
"author": "Commitizen",
212240
"author_email": "author@cz.dev",
213241
},
214242
{
215243
"rev": "58bb709765380dbd46b74ce6e8978515764eb955",
244+
"parents": ["97afb0bb48e72b6feca793091a8a23c706693257"],
216245
"title": "docs(README): new badges",
217246
"body": "",
218247
"author": "Commitizen",
219248
"author_email": "author@cz.dev",
220249
},
221250
{
222251
"rev": "97afb0bb48e72b6feca793091a8a23c706693257",
252+
"parents": [
253+
"9cecb9224aa7fa68d4afeac37eba2a25770ef251",
254+
"e004a90b81ea5b374f118759bce5951202d03d69",
255+
],
223256
"title": "Merge pull request #10 from Woile/feat/decli",
224257
"body": "Feat/decli",
225258
"author": "Commitizen",
226259
"author_email": "author@cz.dev",
227260
},
228261
{
229262
"rev": "9cecb9224aa7fa68d4afeac37eba2a25770ef251",
263+
"parents": ["f5781d1a2954d71c14ade2a6a1a95b91310b2577"],
230264
"title": "style: black to files",
231265
"body": "",
232266
"author": "Commitizen",
233267
"author_email": "author@cz.dev",
234268
},
235269
{
236270
"rev": "f5781d1a2954d71c14ade2a6a1a95b91310b2577",
271+
"parents": ["80105fb3c6d45369bc0cbf787bd329fba603864c"],
237272
"title": "ci: added travis",
238273
"body": "",
239274
"author": "Commitizen",
240275
"author_email": "author@cz.dev",
241276
},
242277
{
243278
"rev": "80105fb3c6d45369bc0cbf787bd329fba603864c",
279+
"parents": ["a96008496ffefb6b1dd9b251cb479eac6a0487f7"],
244280
"title": "refactor: removed delegator, added decli and many tests",
245281
"body": "BREAKING CHANGE: API is stable",
246282
"author": "Commitizen",
247283
"author_email": "author@cz.dev",
248284
},
249285
{
250286
"rev": "a96008496ffefb6b1dd9b251cb479eac6a0487f7",
287+
"parents": ["aab33d13110f26604fb786878856ec0b9e5fc32b"],
251288
"title": "docs: updated test command",
252289
"body": "",
253290
"author": "Commitizen",
254291
"author_email": "author@cz.dev",
255292
},
256293
{
257294
"rev": "aab33d13110f26604fb786878856ec0b9e5fc32b",
295+
"parents": ["b73791563d2f218806786090fb49ef70faa51a3a"],
258296
"title": "Bump version: 1.0.0b1 → 1.0.0b2",
259297
"body": "",
260298
"author": "Commitizen",
261299
"author_email": "author@cz.dev",
262300
},
263301
{
264302
"rev": "b73791563d2f218806786090fb49ef70faa51a3a",
303+
"parents": ["7aa06a454fb717408b3657faa590731fb4ab3719"],
265304
"title": "docs(README): updated to reflect current state",
266305
"body": "",
267306
"author": "Commitizen",
268307
"author_email": "author@cz.dev",
269308
},
270309
{
271310
"rev": "7aa06a454fb717408b3657faa590731fb4ab3719",
311+
"parents": [
312+
"7c7e96b723c2aaa1aec3a52561f680adf0b60e97",
313+
"9589a65880016996cff156b920472b9d28d771ca",
314+
],
272315
"title": "Merge pull request #9 from Woile/dev",
273316
"body": "feat: py3 only, tests and conventional commits 1.0",
274317
"author": "Commitizen",
275318
"author_email": "author@cz.dev",
276319
},
277320
{
278321
"rev": "7c7e96b723c2aaa1aec3a52561f680adf0b60e97",
322+
"parents": ["ed830019581c83ba633bfd734720e6758eca6061"],
279323
"title": "Bump version: 0.9.11 → 1.0.0b1",
280324
"body": "",
281325
"author": "Commitizen",
282326
"author_email": "author@cz.dev",
283327
},
284328
{
285329
"rev": "ed830019581c83ba633bfd734720e6758eca6061",
330+
"parents": ["c52eca6f74f844ab3ffbde61d98ef96071e132b7"],
286331
"title": "feat: py3 only, tests and conventional commits 1.0",
287332
"body": "more tests\npyproject instead of Pipfile\nquestionary instead of whaaaaat (promptkit 2.0.0 support)",
288333
"author": "Commitizen",
289334
"author_email": "author@cz.dev",
290335
},
291336
{
292337
"rev": "c52eca6f74f844ab3ffbde61d98ef96071e132b7",
338+
"parents": ["0326652b2657083929507ee66d4d1a0899e861ba"],
293339
"title": "Bump version: 0.9.10 → 0.9.11",
294340
"body": "",
295341
"author": "Commitizen",
296342
"author_email": "author@cz.dev",
297343
},
298344
{
299345
"rev": "0326652b2657083929507ee66d4d1a0899e861ba",
346+
"parents": ["b3f89892222340150e32631ae6b7aab65230036f"],
300347
"title": "fix(config): load config reads in order without failing if there is no commitizen section",
301348
"body": "Closes #8",
302349
"author": "Commitizen",
303350
"author_email": "author@cz.dev",
304351
},
305352
{
306353
"rev": "b3f89892222340150e32631ae6b7aab65230036f",
354+
"parents": ["5e837bf8ef0735193597372cd2d85e31a8f715b9"],
307355
"title": "Bump version: 0.9.9 → 0.9.10",
308356
"body": "",
309357
"author": "Commitizen",
310358
"author_email": "author@cz.dev",
311359
},
312360
{
313361
"rev": "5e837bf8ef0735193597372cd2d85e31a8f715b9",
362+
"parents": ["684e0259cc95c7c5e94854608cd3dcebbd53219e"],
314363
"title": "fix: parse scope (this is my punishment for not having tests)",
315364
"body": "",
316365
"author": "Commitizen",
317366
"author_email": "author@cz.dev",
318367
},
319368
{
320369
"rev": "684e0259cc95c7c5e94854608cd3dcebbd53219e",
370+
"parents": ["ca38eac6ff09870851b5c76a6ff0a2a8e5ecda15"],
321371
"title": "Bump version: 0.9.8 → 0.9.9",
322372
"body": "",
323373
"author": "Commitizen",
324374
"author_email": "author@cz.dev",
325375
},
326376
{
327377
"rev": "ca38eac6ff09870851b5c76a6ff0a2a8e5ecda15",
378+
"parents": ["64168f18d4628718c49689ee16430549e96c5d4b"],
328379
"title": "fix: parse scope empty",
329380
"body": "",
330381
"author": "Commitizen",
331382
"author_email": "author@cz.dev",
332383
},
333384
{
334385
"rev": "64168f18d4628718c49689ee16430549e96c5d4b",
386+
"parents": ["9d4def716ef235a1fa5ae61614366423fbc8256f"],
335387
"title": "Bump version: 0.9.7 → 0.9.8",
336388
"body": "",
337389
"author": "Commitizen",
338390
"author_email": "author@cz.dev",
339391
},
340392
{
341393
"rev": "9d4def716ef235a1fa5ae61614366423fbc8256f",
394+
"parents": ["33b0bf1a0a4dc60aac45ed47476d2e5473add09e"],
342395
"title": "fix(scope): parse correctly again",
343396
"body": "",
344397
"author": "Commitizen",
345398
"author_email": "author@cz.dev",
346399
},
347400
{
348401
"rev": "33b0bf1a0a4dc60aac45ed47476d2e5473add09e",
402+
"parents": ["696885e891ec35775daeb5fec3ba2ab92c2629e1"],
349403
"title": "Bump version: 0.9.6 → 0.9.7",
350404
"body": "",
351405
"author": "Commitizen",
352406
"author_email": "author@cz.dev",
353407
},
354408
{
355409
"rev": "696885e891ec35775daeb5fec3ba2ab92c2629e1",
410+
"parents": ["bef4a86761a3bda309c962bae5d22ce9b57119e4"],
356411
"title": "fix(scope): parse correctly",
357412
"body": "",
358413
"author": "Commitizen",
359414
"author_email": "author@cz.dev",
360415
},
361416
{
362417
"rev": "bef4a86761a3bda309c962bae5d22ce9b57119e4",
418+
"parents": ["72472efb80f08ee3fd844660afa012c8cb256e4b"],
363419
"title": "Bump version: 0.9.5 → 0.9.6",
364420
"body": "",
365421
"author": "Commitizen",
366422
"author_email": "author@cz.dev",
367423
},
368424
{
369425
"rev": "72472efb80f08ee3fd844660afa012c8cb256e4b",
426+
"parents": ["b5561ce0ab3b56bb87712c8f90bcf37cf2474f1b"],
370427
"title": "refactor(conventionalCommit): moved filters to questions instead of message",
371428
"body": "",
372429
"author": "Commitizen",
373430
"author_email": "author@cz.dev",
374431
},
375432
{
376433
"rev": "b5561ce0ab3b56bb87712c8f90bcf37cf2474f1b",
434+
"parents": ["3e31714dc737029d96898f412e4ecd2be1bcd0ce"],
377435
"title": "fix(manifest): included missing files",
378436
"body": "",
379437
"author": "Commitizen",
380438
"author_email": "author@cz.dev",
381439
},
382440
{
383441
"rev": "3e31714dc737029d96898f412e4ecd2be1bcd0ce",
442+
"parents": ["9df721e06595fdd216884c36a28770438b4f4a39"],
384443
"title": "Bump version: 0.9.4 → 0.9.5",
385444
"body": "",
386445
"author": "Commitizen",
387446
"author_email": "author@cz.dev",
388447
},
389448
{
390449
"rev": "9df721e06595fdd216884c36a28770438b4f4a39",
450+
"parents": ["0cf6ada372470c8d09e6c9e68ebf94bbd5a1656f"],
391451
"title": "fix(config): home path for python versions between 3.0 and 3.5",
392452
"body": "",
393453
"author": "Commitizen",
394454
"author_email": "author@cz.dev",
395455
},
396456
{
397457
"rev": "0cf6ada372470c8d09e6c9e68ebf94bbd5a1656f",
458+
"parents": ["973c6b3e100f6f69a3fe48bd8ee55c135b96c318"],
398459
"title": "Bump version: 0.9.3 → 0.9.4",
399460
"body": "",
400461
"author": "Commitizen",
401462
"author_email": "author@cz.dev",
402463
},
403464
{
404465
"rev": "973c6b3e100f6f69a3fe48bd8ee55c135b96c318",
466+
"parents": ["dacc86159b260ee98eb5f57941c99ba731a01399"],
405467
"title": "feat(cli): added version",
406468
"body": "",
407469
"author": "Commitizen",
408470
"author_email": "author@cz.dev",
409471
},
410472
{
411473
"rev": "dacc86159b260ee98eb5f57941c99ba731a01399",
474+
"parents": ["4368f3c3cbfd4a1ced339212230d854bc5bab496"],
412475
"title": "Bump version: 0.9.2 → 0.9.3",
413476
"body": "",
414477
"author": "Commitizen",
415478
"author_email": "author@cz.dev",
416479
},
417480
{
418481
"rev": "4368f3c3cbfd4a1ced339212230d854bc5bab496",
482+
"parents": ["da94133288727d35dae9b91866a25045038f2d38"],
419483
"title": "feat(committer): conventional commit is a bit more intelligent now",
420484
"body": "",
421485
"author": "Commitizen",
422486
"author_email": "author@cz.dev",
423487
},
424488
{
425489
"rev": "da94133288727d35dae9b91866a25045038f2d38",
490+
"parents": ["1541f54503d2e1cf39bd777c0ca5ab5eb78772ba"],
426491
"title": "docs(README): motivation",
427492
"body": "",
428493
"author": "Commitizen",
429494
"author_email": "author@cz.dev",
430495
},
431496
{
432497
"rev": "1541f54503d2e1cf39bd777c0ca5ab5eb78772ba",
498+
"parents": ["ddc855a637b7879108308b8dbd85a0fd27c7e0e7"],
433499
"title": "Bump version: 0.9.1 → 0.9.2",
434500
"body": "",
435501
"author": "Commitizen",
436502
"author_email": "author@cz.dev",
437503
},
438504
{
439505
"rev": "ddc855a637b7879108308b8dbd85a0fd27c7e0e7",
506+
"parents": ["46e9032e18a819e466618c7a014bcb0e9981af9e"],
440507
"title": "refactor: renamed conventional_changelog to conventional_commits, not backward compatible",
441508
"body": "",
442509
"author": "Commitizen",
443510
"author_email": "author@cz.dev",
444511
},
445512
{
446513
"rev": "46e9032e18a819e466618c7a014bcb0e9981af9e",
514+
"parents": ["0fef73cd7dc77a25b82e197e7c1d3144a58c1350"],
447515
"title": "Bump version: 0.9.0 → 0.9.1",
448516
"body": "",
449517
"author": "Commitizen",
450518
"author_email": "author@cz.dev",
451519
},
452520
{
453521
"rev": "0fef73cd7dc77a25b82e197e7c1d3144a58c1350",
522+
"parents": [],
454523
"title": "fix(setup.py): future is now required for every python version",
455524
"body": "",
456525
"author": "Commitizen",
@@ -489,6 +558,7 @@ def gitcommits() -> list:
489558
commit["body"],
490559
commit["author"],
491560
commit["author_email"],
561+
commit["parents"],
492562
)
493563
for commit in COMMITS_DATA
494564
]
@@ -1108,6 +1178,7 @@ def test_generate_tree_from_commits(gitcommits, tags, merge_prereleases):
11081178
assert change["author"] == "Commitizen"
11091179
assert change["author_email"] in "author@cz.dev"
11101180
assert "sha1" in change
1181+
assert "parents" in change
11111182

11121183

11131184
def test_generate_tree_from_commits_with_no_commits(tags):

0 commit comments

Comments
 (0)
Please sign in to comment.