Skip to content

Commit 453e149

Browse files
committed
Merge branch 'dl/p4-encode-after-kw-expansion'
Text encoding fix for "git p4". * dl/p4-encode-after-kw-expansion: git-p4: fix syncing file types with pattern
2 parents cf2870a + 52fc4f1 commit 453e149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-p4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3031,7 +3031,7 @@ def streamOneP4File(self, file, contents):
30313031
regexp = re.compile(pattern, re.VERBOSE)
30323032
text = ''.join(decode_text_stream(c) for c in contents)
30333033
text = regexp.sub(r'$\1$', text)
3034-
contents = [ text ]
3034+
contents = [ encode_text_stream(text) ]
30353035

30363036
if self.largeFileSystem:
30373037
(git_mode, contents) = self.largeFileSystem.processContent(git_mode, relPath, contents)

0 commit comments

Comments
 (0)