Open HM2468 opened 3 years ago
The escape codes seem to be what you should be expecting. Git paths are arbitrary binary bytestrings so it looks like whatever you're using to print out the structure is erring on the side of caution and showing anything non-ascii like that.
Does it still happen if you tag the strings with whatever the right encoding is for your repository?
when I call new_file[:path] / old_file[:path] of Rugged::Diff::Delta, I got result as follow:
when I copy the path value to my console pry/irb, I got the right string
It seems to be an incorrectly decoded problem