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

Better support for binary files in 'hit status' #86

Closed
chshersh opened this issue Jul 27, 2019 · 0 comments · Fixed by #93
Closed

Better support for binary files in 'hit status' #86

chshersh opened this issue Jul 27, 2019 · 0 comments · Fixed by #93
Assignees
Labels
beauty help wanted Extra attention is needed

Comments

@chshersh
Copy link
Contributor

I've just discovered that binary files are rendered differently in the git diff --stat command:

 .foo.un~  | Bin 0 -> 523 bytes
 README.md |   4 ++++
 foo       |   1 +

This breaks hit status command because it assumes that every line is:

<filename> | <n> <pluses-and-minuses>

Looks like parsing should be more flexible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beauty help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant