Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't
decode
a unicode string when using git version
In #907, the git sha1 was added to the version string on development builds. In #2158, `encoding="utf-8"` was added in `_minimal_ext_cmd`, which changed the output from a bytestring to a regular string. However, the original code path still expects a bytestring and calls `.decode()` on it. This fixes it in the way most obvious to me.
- Loading branch information