Skip to content

Commit

Permalink
Reformat to 80 columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Jan 7, 2018
1 parent 6f10a8b commit 19350d5
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,23 @@ 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.
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()).

* git-repository related filenames: bytes
* object sha1 digests (20 bytes long): bytes
* object sha1 hexdigests (40 bytes long): str (bytestrings on python2, strings on python3)
* object sha1 hexdigests (40 bytes long): str (bytestrings on python2, strings
on python3)

Merge requests
--------------
Please either send pull requests to the maintainer ([email protected]) or create new pull
requests on GitHub.
Please either send pull requests to the maintainer ([email protected]) or create
new pull requests on GitHub.

Licensing
---------
All contributions should be made under the same license that Dulwich itself comes under:
both Apache License, version 2.0 or later and GNU General Public License, version 2.0 or later.
All contributions should be made under the same license that Dulwich itself
comes under: both Apache License, version 2.0 or later and GNU General Public
License, version 2.0 or later.

0 comments on commit 19350d5

Please sign in to comment.