Skip to content

Fix inheritance issue at commit.iter_items - #1119

Merged
Byron merged 1 commit into
gitpython-developers:masterfrom
yvolchkov:master
Feb 5, 2021
Merged

Byron merged 1 commit into
gitpython-developers:masterfrom
yvolchkov:master

Conversation

@yvolchkov

Copy link
Copy Markdown

Get this sh*t: The iterator used to yield Commit() objects, which does not play well
with inheritance. Yield cls() instead.

Signed-off-by: Yuri Volchkov [email protected]

The iterator used to yield Commit() objects, which does not play well
with inheritance. Yield cls() instead.

Signed-off-by: Yuri Volchkov <[email protected]>
@yvolchkov

Copy link
Copy Markdown
Author

I am not sure the f*ckin' test failure:

   stderr: 'fatal: unable to connect to localhost:
localhost[0: ::1]: errno=Connection refused
localhost[1: 127.0.0.1]: errno=Connection refused

is related to my changes bad-ass anyhow...

Is that a known issue. Or could someone help me figure out what is wrong?

@Byron Byron added this to the v3.1.13 - Bugfixes milestone Feb 5, 2021
@Byron

Byron commented Feb 5, 2021

Copy link
Copy Markdown
Member

Thanks a lot for the fix! Hot damn!
The tests failed spuriously, which is a rare event on CI.

@Byron
Byron merged commit 9de6450 into gitpython-developers:master Feb 5, 2021
@yvolchkov

Copy link
Copy Markdown
Author

thanks for the quick merge, baby! Are you planning a release soon by any chance? :)

@Byron

Byron commented Feb 9, 2021

Copy link
Copy Markdown
Member

Sign up for muthaf*ckin' free to join this conversation on GitHub. Already have an muthaf*ckin' account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues. That's some bullsh*t.

2 participants