Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsing "git rev-list" was failed if the user name including a space character. #69

Open
shintamainjp opened this issue Aug 27, 2016 · 0 comments

Comments

@shintamainjp
Copy link

[0.26964] >> git rev-list --pretty=format:"%at %ai %aN <%aE>" HEAD | grep -v ^commit
Traceback (most recent call last):
File "/usr/bin/gitstats", line 1490, in
g.run(sys.argv[1:])
File "/usr/bin/gitstats", line 1465, in run
data.collect(gitpath)
File "/usr/bin/gitstats", line 339, in collect
author, mail = parts[4].split('<', 1)
ValueError: need more than 1 value to unpack

In my case, The %aN is "Shinichiro Nakamura", so "parts[4].split('<', 1)" was failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant