Skip to content
\n

Version is similar as in the docs.

\n
(venv) a@a:~/Workspace/git_test$ pip freeze | grep Git\nGitPython==3.1.1\n
\n

Is that incorrect docs or bug in the library?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Instead of r.git.blame('HEAD', 'users/utils.py'), you could try r.blame('HEAD', 'users/utils.py').

\n

I hope this helps. Please feel free to continue posting in the closed issue.

","upvoteCount":1,"url":"https://github.com/gitpython-developers/GitPython/discussions/1153#discussioncomment-408805"}}}

Blame returns str not list #1153

Answered by Byron
ncopiy asked this question in Q&A
Discussion options

You must be logged in to vote

Instead of r.git.blame('HEAD', 'users/utils.py'), you could try r.blame('HEAD', 'users/utils.py').

I hope this helps. Please feel free to continue posting in the closed issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1008 on February 26, 2021 11:18.