You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason I cannot get output from Git().shortlog() anymore. Running on Windows 11 with Python 3.9.6 (same behavior on Ubuntu 20.04 (WSL2) with Python 3.8.10.
In [1]: import git
In [2]: git.__version__
Out[2]: '3.1.27'
In [3]: g = git.Git()
In [4]: g.status()
Out[4]: 'On branch master\nYour branch is up to date with \'origin/master\'.\n\nChanges not staged for commit:\n (use "git add <file>..." to update what will be committed)\n (use "git restore <file>..." to discard changes in working directory)\n\tmodified: src/sphinxcontrib/scm/__init__.py\n\tmodified: src/sphinxcontrib/scm/directives.py\n\tmodified: src/sphinxcontrib/scm/roles.py\n\tmodified: src/sphinxcontrib/scm/util.py\n\nUntracked files:\n (use "git add <file>..." to include in what will be committed)\n\tpublish.ps1\n\nno changes added to commit (use "git add" and/or "git commit -a")'
In [5]: g.shortlog()
Out[5]: ''
git shortlog is working in the CLI:
PS scm> git shortlog
Christian Knittl-Frank (32):
Initial commit
...
Any idea where this problem could originate from? Any more info I can provide to track down the issue?
Activity
[-]Git().shortlog not working[/-][+]Git().shortlog() not working[/+]Try to resolve no contibutors found