Thread (1 message) 1 message, 1 author, 2019-12-11

Re: [PATCH v5 05/15] git-p4: promote encodeWithUTF8() to a global function

From: Junio C Hamano <hidden>
Date: 2019-12-11 16:39:53

"Ben Keene via GitGitGadget" [off-list ref] writes:
From: Ben Keene <redacted>

This changelist is an intermediate submission for migrating the P4
support from Python 2 to Python 3. The code needs access to the
encodeWithUTF8() for support of non-UTF8 filenames in the clone class as
well as the sync class.

Move the function encodeWithUTF8() from the P4Sync class to a
stand-alone function.  This will allow other classes to use this
function without instanciating the P4Sync class.
Makes quite a lot of sense, as I do not see a reason why this needs
to be attached to any specific instance of P4Sync.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help