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

.git-stats file empty after import #21

Closed
sime opened this issue Mar 24, 2015 · 5 comments
Closed

.git-stats file empty after import #21

sime opened this issue Mar 24, 2015 · 5 comments
Labels

Comments

@sime
Copy link

sime commented Mar 24, 2015

Hello,

I have attempted to import a Git project, but git-stats doesn't work after importing.

Looking at the contents of ~/.git-stats it only contains {}

@IonicaBizau
Copy link
Owner

Did you get any errors?

Also, check if the email set in your git config is the same with the one from commits you think are supposed to be imported.

@sime
Copy link
Author

sime commented Mar 24, 2015

No errors:

$ git-stats-importer
info  Done.

E-Mails in git log match that of git config user.email

@IonicaBizau
Copy link
Owner

@sime Can you post the output of the following command:

git rev-list HEAD --author=`git config user.email` --count

Also, specify what operating system are you using.

@sime
Copy link
Author

sime commented Mar 24, 2015

Solved.

My E-Mail address in .gitconfig was surrounded with single quotes.

Thanks!

@sime sime closed this as completed Mar 24, 2015
@IonicaBizau
Copy link
Owner

Glad to hear the issue is solved. 😄 👍

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

No branches or pull requests

2 participants