| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ jobs: | |||
| 13 | 13 | strategy: | |
| 14 | 14 | fail-fast: false | |
| 15 | 15 | matrix: | |
| 16 | - os: ["ubuntu-latest", "macos-latest", "windows-latest"] | ||
| 16 | + os: ["ubuntu-22.04", "macos-latest", "windows-latest"] | ||
| 17 | 17 | python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
| 18 | 18 | exclude: | |
| 19 | 19 | - os: "macos-latest" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1269,6 +1269,7 @@ def execute( | |||
| 1269 | 1269 | stdout=stdout_sink, | |
| 1270 | 1270 | shell=shell, | |
| 1271 | 1271 | universal_newlines=universal_newlines, | |
| 1272 | + encoding=defenc if universal_newlines else None, | ||
| 1272 | 1273 | **subprocess_kwargs, | |
| 1273 | 1274 | ) | |
| 1274 | 1275 | except cmd_not_found_exception as err: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -894,7 +894,7 @@ def _get_fetch_info_from_stderr( | |||
| 894 | 894 | None, | |
| 895 | 895 | progress_handler, | |
| 896 | 896 | finalizer=None, | |
| 897 | - decode_streams=True, | ||
| 897 | + decode_streams=False, | ||
| 898 | 898 | kill_after_timeout=kill_after_timeout, | |
| 899 | 899 | ) | |
| 900 | 900 | ||
@@ -1071,7 +1071,7 @@ def fetch( | |||
| 1071 | 1071 | Git.check_unsafe_options(options=list(kwargs.keys()), unsafe_options=self.unsafe_git_fetch_options) | |
| 1072 | 1072 | ||
| 1073 | 1073 | proc = self.repo.git.fetch( | |
| 1074 | - "--", self, *args, as_process=True, with_stdout=False, universal_newlines=False, v=verbose, **kwargs | ||
| 1074 | + "--", self, *args, as_process=True, with_stdout=False, universal_newlines=True, v=verbose, **kwargs | ||
| 1075 | 1075 | ) | |
| 1076 | 1076 | res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout) | |
| 1077 | 1077 | if hasattr(self.repo.odb, "update_cache"): | |
@@ -1125,7 +1125,7 @@ def pull( | |||
| 1125 | 1125 | Git.check_unsafe_options(options=list(kwargs.keys()), unsafe_options=self.unsafe_git_pull_options) | |
| 1126 | 1126 | ||
| 1127 | 1127 | proc = self.repo.git.pull( | |
| 1128 | - "--", self, refspec, with_stdout=False, as_process=True, universal_newlines=False, v=True, **kwargs | ||
| 1128 | + "--", self, refspec, with_stdout=False, as_process=True, universal_newlines=True, v=True, **kwargs | ||
| 1129 | 1129 | ) | |
| 1130 | 1130 | res = self._get_fetch_info_from_stderr(proc, progress, kill_after_timeout=kill_after_timeout) | |
| 1131 | 1131 | if hasattr(self.repo.odb, "update_cache"): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments