Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitf7ed51b

Browse files
committed
[#7021] Fixed error serializing programmatically created commits
1 parent8005591 commitf7ed51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/objects/commit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(self, repo, binsha, tree=None, author=None, authored_date=None, aut
121121
self.parents=parents
122122
ifencodingisnotNone:
123123
self.encoding=encoding
124-
ifgpgsigisnotNone:
124+
ifbinsha=='\x00'*20orgpgsigisnotNone:
125125
self.gpgsig=gpgsig
126126

127127
@classmethod

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp