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

error while scanning: bufio.Scanner: token too long #16

Open
nobeh opened this issue Mar 20, 2025 · 3 comments
Open

error while scanning: bufio.Scanner: token too long #16

nobeh opened this issue Mar 20, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@nobeh
Copy link

nobeh commented Mar 20, 2025

When running on a large repository, I get the following error. Not if there's a problem with the git repository or the command.

$ git-who
error running "table": failed to tally commits: error iterating commits: 
error reading commit aaa111bbbccc222: error while scanning: bufio.Scanner: token too long
@sinclairtarget
Copy link
Owner

Is the repo you ran this on public? Would you mind sharing a link to it if so? That would make it possible for me to reproduce this error

@windherd
Copy link

I have the same problem. I found through git show commitid that the commit with the error contains many squashed commits. Is it caused by too many squashed commits?

@nobeh
Copy link
Author

nobeh commented Mar 21, 2025

Is the repo you ran this on public? Would you mind sharing a link to it if so? That would make it possible for me to reproduce this error

Unfortunately, no. I cannot share the repo. Are there any git tips or commands that you would like me to run?

@sinclairtarget sinclairtarget added the bug Something isn't working label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants