-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"LooseObjectError: size mismatch" by committing non-ASCII content. String#length returns number of characters in the encoding of the string. Instead, we should use String#bytesize.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
696761d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hiroshi Thank you! I just spent a day tracking down a bug that turned out to be this. :-P
@technoweenie Any idea when there will be a new release of Grit with this commit in it? Looks like it just missed 2.4.1.
696761d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also hoping for a new official release to fix this error, any updates?