forked from rpm-software-management/mock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scm: Open stdout in text mode for Git timestamp subprocesses
Mock would fail when using SCM with Git timestamps from attempting to mix encoded text strings with raw bytes since these subprocesses weren't using an encoding for their output. Omit showing the patch along with the timestamp. It will break the encoding if the diff contains invalid UTF-8 sequences.
- Loading branch information
Showing
2 changed files
with
10 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The SCM plugin's option `git_timestamps` has been updated to work with Python 3 | ||
and to handle Git repositories with non-Unicode data. ([PR#1355][]) |