summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorYang Zhao <yang.zhao@skyboxlabs.com>2019-12-13 15:52:39 -0800
committerJunio C Hamano <gitster@pobox.com>2020-01-15 12:53:40 -0800
commit86dca24b7be6491fb8d4b7a499ccf4a43776d1ab (patch)
tree37f161aa603804d3c0d0e88947eb69aee72cbdf3 /builtin/commit.c
parent6cec21a82f437184c69cce2b8fe6011d02acfa06 (diff)
git-p4: encode/decode communication with git for python3
Under python3, calls to write() on the stream to `git fast-import` must be encoded. This patch wraps the IO object such that this encoding is done transparently. Conversely, any text data read from subprocesses must also be decoded before running through the rest of the pipeline. Signed-off-by: Yang Zhao <yang.zhao@skyboxlabs.com> Reviewed-by: Ben Keene <seraphire@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions