Message ID | pull.823.git.1608727731733.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8fce17d9982b23a9b916adfcb741709b7aa4267f |
Headers | show |
Series | git-p4: fix syncing file types with pattern | expand |
diff --git a/git-p4.py b/git-p4.py index 4433ca53de7..90b02f6b22c 100755 --- a/git-p4.py +++ b/git-p4.py @@ -3031,7 +3031,7 @@ def streamOneP4File(self, file, contents): regexp = re.compile(pattern, re.VERBOSE) text = ''.join(decode_text_stream(c) for c in contents) text = regexp.sub(r'$\1$', text) - contents = [ text ] + contents = [ encode_text_stream(text) ] if self.largeFileSystem: (git_mode, contents) = self.largeFileSystem.processContent(git_mode, relPath, contents)