Skip to content

Commit 9eae518

Browse files
committed
fix(git.py): ensure signed commits in changelog when git config log.showsignature=true
#397
1 parent bec20eb commit 9eae518

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

commitizen/git.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ def get_commits(
7777
args: str = "",
7878
) -> List[GitCommit]:
7979
"""Get the commits between start and end."""
80-
git_log_cmd = f"git log --pretty={log_format}{delimiter} {args}"
80+
git_log_cmd = (
81+
f"git -c log.showSignature=False log --pretty={log_format}{delimiter} {args}"
82+
)
8183

8284
if start:
8385
c = cmd.run(f"{git_log_cmd} {start}..{end}")

0 commit comments

Comments
 (0)