summaryrefslogtreecommitdiff
path: root/dir-iterator.h
diff options
context:
space:
mode:
authorYang Zhao <yang.zhao@skyboxlabs.com>2019-12-13 23:52:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-01-15 20:53:40 (GMT)
commit86dca24b7be6491fb8d4b7a499ccf4a43776d1ab (patch)
tree37f161aa603804d3c0d0e88947eb69aee72cbdf3 /dir-iterator.h
parent6cec21a82f437184c69cce2b8fe6011d02acfa06 (diff)
downloadgit-86dca24b7be6491fb8d4b7a499ccf4a43776d1ab.zip
git-86dca24b7be6491fb8d4b7a499ccf4a43776d1ab.tar.gz
git-86dca24b7be6491fb8d4b7a499ccf4a43776d1ab.tar.bz2
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 'dir-iterator.h')
0 files changed, 0 insertions, 0 deletions