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

zsh: empty stats after successful import of commits #44

Closed
delebedev opened this issue Apr 19, 2015 · 15 comments
Closed

zsh: empty stats after successful import of commits #44

delebedev opened this issue Apr 19, 2015 · 15 comments

Comments

@delebedev
Copy link

2015-04-19 22-42-40 1 lebedzeu lebedzeu-nb-osx src mtt latam-ios-fresh zsh

@delebedev delebedev changed the title zsh: empty stats after successfull import of commits zsh: empty stats after successful import of commits Apr 19, 2015
@IonicaBizau
Copy link
Owner

I indeed need to clarify this in docs! 📝

However, please check this issue and see if following the steps described there will solve your problem: IonicaBizau/git-stats-importer#21

@IonicaBizau IonicaBizau added this to the 2.0.0 milestone Apr 20, 2015
@delebedev
Copy link
Author

My .gitstats is not empty and
⇒ git rev-list HEAD --author=git config user.email --count returns 305 😢

@IonicaBizau
Copy link
Owner

@garnett Maybe they are not committed in the last year?

@delebedev
Copy link
Author

* cc9fbed      (2 days)  <Denis Lebedev>      (HEAD, origin/LP-2770, LP-2770) LP-2770: pass airline
* 6ef8126      (3 days)  <Denis Lebedev>      LP-2770: load real cms content
* 5c6cfe9      (3 days)  <Denis Lebedev>      LP-2770: add alert when user opens external link

@IonicaBizau
Copy link
Owner

@garnett Hmm... Looks like a bug. Could you please tell me what OS and terminal emulator are you using?

Is the repository public, so I can play with it? What's the output of git-stats -v?

@delebedev
Copy link
Author

zsh 5.0.5 (x86_64-apple-darwin14.0) + iTerm2

git-stats -v
1.4.0

@IonicaBizau
Copy link
Owner

My .gitstats is not empty

@garnett Could you post somewhere the .gitstats file? Since it contains data, the git-stats tool should take data from there.

@delebedev
Copy link
Author

https://gist.github.com/garnett/339532926e59a9d42d78 here it goes. It's name .git-stats in my system, however

@IonicaBizau
Copy link
Owner

It's name .git-stats in my system, however

Yes, that's expected.

Here is how it is supposed to appear

screenshot from 2015-04-23 11 30 43

Could you please post screenshots with the output of the following commands?

$ git-stats
$ git-stats --light
$ git-stats --no-ansi

If the --no-ansi option works fine, then most probably there is an issue with the colors.

@delebedev
Copy link
Author

Ok, I see the problem myself - it does not fit widht of my terminal 😿
2015-04-23 11-37-01 1 lebedzeu lebedzeu-nb-osx src mtt latam-ios-fresh zsh
2015-04-23 11-37-16 1 lebedzeu lebedzeu-nb-osx src mtt latam-ios-fresh zsh
2015-04-23 11-37-28 1 lebedzeu lebedzeu-nb-osx src mtt latam-ios-fresh zsh

@delebedev
Copy link
Author

That what it's looks like when I make terminal window wider:
2015-04-23 11-41-01 1 lebedzeu lebedzeu-nb-osx src mtt latam-ios-fresh zsh

@IonicaBizau
Copy link
Owner

I see. Then I guess this is a duplicate of #24.

For reference, see IonicaBizau/ghcal#1.

@delebedev
Copy link
Author

Yes, it is.

@IonicaBizau
Copy link
Owner

👍

@IonicaBizau
Copy link
Owner

I'd like to get this fixed in the next major release.

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

No branches or pull requests

2 participants