浏览代码

Clarify wording around string use.

Jelmer Vernooij 4 年之前
父节点
当前提交
42d682beaf
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      CONTRIBUTING.rst

+ 4 - 4
CONTRIBUTING.rst

@@ -34,10 +34,10 @@ Like Linux, Git treats filenames as arbitrary bytestrings. There is no prescribe
 encoding for these strings, and although it is fairly common to use UTF-8, any
 raw byte strings are supported.
 
-For this reason, Dulwich internally treats git-based filenames as bytestrings.
-It is up to the Dulwich API user to encode and decode them if necessary. In the
-future, the porcelain may accept unicode strings and convert them to bytestrings
-as necessary on the fly (using sys.getfilesystemencoding()).
+For this reason, the lower levels in Dulwich treat git-based filenames as
+bytestrings. It is up to the Dulwich API user to encode and decode them if
+necessary. The porcelain may accept unicode strings and convert them to
+bytestrings as necessary on the fly (using sys.getfilesystemencoding()).
 
 * git-repository related filenames: bytes
 * object sha1 digests (20 bytes long): bytes