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
The # of commits obtained from the command line (git log --oneline | wc -l) is differ from the git_stat report. When looked into the the git_stats command log, found that the command it runs is:
git rev-list --pretty=format:'%H|%at|%ai|%aE' HEAD . | grep -v commit
The dot after HEAD is the main issue. It takes the commits from the current folder. If I run the command manually without dot, it gives me the correct count.
Please let me know how can I remove the dot after the HEAD from it. I treid with the --tree option, but with no luck.
Thanks,
JS
The text was updated successfully, but these errors were encountered:
Hello,
The # of commits obtained from the command line (git log --oneline | wc -l) is differ from the git_stat report. When looked into the the git_stats command log, found that the command it runs is:
git rev-list --pretty=format:'%H|%at|%ai|%aE' HEAD . | grep -v commit
git rev-list --pretty=format:'%H|%at|%ai|%aE' HEAD . | grep -v commit | wc -l
--> 30
git rev-list --pretty=format:'%H|%at|%ai|%aE' HEAD | grep -v commit | wc -l
--> 45
The dot after HEAD is the main issue. It takes the commits from the current folder. If I run the command manually without dot, it gives me the correct count.
Please let me know how can I remove the dot after the HEAD from it. I treid with the --tree option, but with no luck.
Thanks,
JS
The text was updated successfully, but these errors were encountered: