<feed xmlns='http://www.w3.org/2005/Atom'>
<title>GitPython, branch fix-non-ascii-chars-in-status-lines</title>
<subtitle>Forked from https://github.com/gitpython-developers/GitPython</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/'/>
<entry>
<title>Merge branch 'master' into fix-non-ascii-chars-in-status-lines</title>
<updated>2016-06-20T04:51:08+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-06-20T04:51:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=f128ae9a37036614c1b5d44e391ba070dd4326d1'/>
<id>f128ae9a37036614c1b5d44e391ba070dd4326d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into fix-non-ascii-chars-in-status-lines</title>
<updated>2016-06-20T04:49:45+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-06-20T04:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=07a8f73dca7ec7c2aeb6aa47aaf421d8d22423ad'/>
<id>07a8f73dca7ec7c2aeb6aa47aaf421d8d22423ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #474 from gitpython-developers/keep-raw-bytes-on-diffs</title>
<updated>2016-06-20T04:46:28+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-06-20T04:46:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=e9405ac82af3a804dba1f9797bdb34815e1d7a18'/>
<id>e9405ac82af3a804dba1f9797bdb34815e1d7a18</id>
<content type='text'>
Store raw path bytes in Diff instances</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Store raw path bytes in Diff instances</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #475 from warsaw/issue470</title>
<updated>2016-06-20T04:18:22+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-06-20T04:18:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=930d03fb077f531b3fbea1b4da26a96153165883'/>
<id>930d03fb077f531b3fbea1b4da26a96153165883</id>
<content type='text'>
Fix issue #470</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix issue #470</pre>
</div>
</content>
</entry>
<entry>
<title>Fix issue #470</title>
<updated>2016-06-15T07:11:27+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2016-06-15T07:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=dc2ec79a88a787f586df8c40ed0fd6657dce31dd'/>
<id>dc2ec79a88a787f586df8c40ed0fd6657dce31dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Store raw path bytes in Diff instances</title>
<updated>2016-06-14T21:09:22+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>me@nvie.com</email>
</author>
<published>2016-06-14T20:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=3ee291c469fc7ea6065ed22f344ed3f2792aa2ca'/>
<id>3ee291c469fc7ea6065ed22f344ed3f2792aa2ca</id>
<content type='text'>
Previously, the following fields on Diff instances were assumed to be
passed in as unicode strings:

  - `a_path`
  - `b_path`
  - `rename_from`
  - `rename_to`

However, since Git natively records paths as bytes, these may
potentially not have a valid unicode representation.

This patch changes the Diff instance to instead take the following
equivalent fields that should be raw bytes instead:

  - `a_rawpath`
  - `b_rawpath`
  - `raw_rename_from`
  - `raw_rename_to`

NOTE ON BACKWARD COMPATIBILITY:
The original `a_path`, `b_path`, etc. fields are still available as
properties (rather than slots).  These properties now dynamically decode
the raw bytes into a unicode string (performing the potentially
destructive operation of replacing invalid unicode chars by "�"'s).
This means that all code using Diffs should remain backward compatible.
The only exception is when people would manually construct Diff
instances by calling the constructor directly, in which case they should
now pass in bytes rather than unicode strings.

See also the discussion on
https://github.com/gitpython-developers/GitPython/pull/467
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the following fields on Diff instances were assumed to be
passed in as unicode strings:

  - `a_path`
  - `b_path`
  - `rename_from`
  - `rename_to`

However, since Git natively records paths as bytes, these may
potentially not have a valid unicode representation.

This patch changes the Diff instance to instead take the following
equivalent fields that should be raw bytes instead:

  - `a_rawpath`
  - `b_rawpath`
  - `raw_rename_from`
  - `raw_rename_to`

NOTE ON BACKWARD COMPATIBILITY:
The original `a_path`, `b_path`, etc. fields are still available as
properties (rather than slots).  These properties now dynamically decode
the raw bytes into a unicode string (performing the potentially
destructive operation of replacing invalid unicode chars by "�"'s).
This means that all code using Diffs should remain backward compatible.
The only exception is when people would manually construct Diff
instances by calling the constructor directly, in which case they should
now pass in bytes rather than unicode strings.

See also the discussion on
https://github.com/gitpython-developers/GitPython/pull/467
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for parsing non-ASCII chars in status lines</title>
<updated>2016-06-14T19:49:31+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>me@nvie.com</email>
</author>
<published>2016-06-14T05:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=5e02afbb7343a7a4e07e3dcf8b845ea2764d927c'/>
<id>5e02afbb7343a7a4e07e3dcf8b845ea2764d927c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 2.6 compat</title>
<updated>2016-06-14T18:55:41+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>me@nvie.com</email>
</author>
<published>2016-06-14T18:55:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=105a8c0fb3fe61b77956c8ebd3216738c78a3dff'/>
<id>105a8c0fb3fe61b77956c8ebd3216738c78a3dff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>doc(changes): inform about new API</title>
<updated>2016-06-14T05:52:07+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-06-14T05:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=5c8ff218cb3ee5d3dd9119007ea8478626f6d2ce'/>
<id>5c8ff218cb3ee5d3dd9119007ea8478626f6d2ce</id>
<content type='text'>
Relates to #446
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Relates to #446
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(test_docs): skip master-dependent assertion</title>
<updated>2016-06-14T05:52:07+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-06-14T05:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/GitPython/commit/?id=27f394a58b7795303926cd2f7463fc7187e1cce4'/>
<id>27f394a58b7795303926cd2f7463fc7187e1cce4</id>
<content type='text'>
It usually fails on branches, which doesn't help
assessing PRs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It usually fails on branches, which doesn't help
assessing PRs.
</pre>
</div>
</content>
</entry>
</feed>
