From: Junio C Hamano Date: Wed, 5 Jan 2022 22:01:27 +0000 (-0800) Subject: Merge branch 'jh/p4-rcs-expansion-in-bytestring' X-Git-Tag: v2.35.0-rc0~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b58e7bfcd74402671f577609d766a5064e9c748d;p=thirdparty%2Fgit.git Merge branch 'jh/p4-rcs-expansion-in-bytestring' The RCS keyword substitution in "git p4" used to be done assuming that the contents are UTF-8 text, which can trigger decoding errors. We now treat the contents as a bytestring for robustness and correctness. * jh/p4-rcs-expansion-in-bytestring: git-p4: resolve RCS keywords in bytes not utf-8 git-p4: open temporary patch file for write only git-p4: add raw option to read_pipelines git-p4: pre-compile RCS keyword regexes git-p4: use with statements to close files after use in patchRCSKeywords --- b58e7bfcd74402671f577609d766a5064e9c748d