-
-
Notifications
You must be signed in to change notification settings - Fork 950
Closed as not planned
Description
- Using the linux torvald public GIT repository
- Lookup a commit (several affected by this)
- The python library returns an 'empty' author name, while the git cli command returns proper info
$ git show "03d661d3d7dd2c20330d775c13157419049f1617"
commit 03d661d3d7dd2c20330d775c13157419049f1617
Merge: 1a9505996dd0c12a2e56d2c6af00846e75a3850d fdecea66687d76c7d19be6559586df5c51023d11
Author: Jeff Garzik jgarzik@pretzel.yyz.us
Date: Sat Jun 4 17:19:42 2005 -0400
Automatic merge of /spare/repo/netdev-2.6 branch starfire
$ python3
Python 3.9.18 (main, Jan 4 2024, 00:00:00)
[GCC 11.4.1 20230605 (Red Hat 11.4.1-2.1.0.1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
import git
repo = git.Repo(".")
cmt = repo.commit("03d661d3d7dd2c20330d775c13157419049f1617")
cmt.author.name
''
cmt.author.email
'jgarzik@pretzel.yyz.us'
$ git -version
git version 2.43.0
$ pip3 list
Package Version
gitdb 4.0.11
GitPython 3.1.42
Metadata
Metadata
Assignees
Labels
No labels