<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/index, branch 1.0.2</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>DOC: minor typos</title>
<updated>2016-01-08T19:29:46+00:00</updated>
<author>
<name>Yaroslav Halchenko</name>
<email>debian@onerussian.com</email>
</author>
<published>2016-01-08T19:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=a7b609c9f382685448193b59d09329b9a30c7580'/>
<id>a7b609c9f382685448193b59d09329b9a30c7580</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index):allow adding non-unicode paths to index</title>
<updated>2015-07-29T16:29:03+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-07-29T16:29:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=7ab12b403207bb46199f46d5aaa72d3e82a3080d'/>
<id>7ab12b403207bb46199f46d5aaa72d3e82a3080d</id>
<content type='text'>
This issue only surfaced in python 2, in case paths containing unicode
characters were not actual unicode objects.

In python 3, this was never the issue.

Closes #331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This issue only surfaced in python 2, in case paths containing unicode
characters were not actual unicode objects.

In python 3, this was never the issue.

Closes #331
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index): remove invalid keyword argument</title>
<updated>2015-07-20T07:30:24+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-07-20T07:30:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=c1d33021feb7324e0f2f91c947468bf282f036d2'/>
<id>c1d33021feb7324e0f2f91c947468bf282f036d2</id>
<content type='text'>
It was a left-over of some prior hacking that was not removed by
accident.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was a left-over of some prior hacking that was not removed by
accident.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(encoding): in untracked_files() and index</title>
<updated>2015-07-20T07:20:00+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-07-20T06:51:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=9c272abea2c837e4725c37f5c0467f83f3700cd5'/>
<id>9c272abea2c837e4725c37f5c0467f83f3700cd5</id>
<content type='text'>
* untracked_files could, if there were spaces in the path returned,
  re-rencode the previously decoded unicode string thanks to a
  `decode("string_escape")` call. Now re-encode into utf-8 afterwards
  - added test to assure this works indeed
* IndexFile.add() didn't handle unicode correctly and would write
  broken index files. The solution was to compute the path length after
  encoding it into utf-8 bytes, not before ... .

Closes #320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* untracked_files could, if there were spaces in the path returned,
  re-rencode the previously decoded unicode string thanks to a
  `decode("string_escape")` call. Now re-encode into utf-8 afterwards
  - added test to assure this works indeed
* IndexFile.add() didn't handle unicode correctly and would write
  broken index files. The solution was to compute the path length after
  encoding it into utf-8 bytes, not before ... .

Closes #320
</pre>
</div>
</content>
</entry>
<entry>
<title>added tests for commits with dates</title>
<updated>2015-07-17T16:48:46+00:00</updated>
<author>
<name>avi</name>
<email>hi@avi.im</email>
</author>
<published>2015-07-17T16:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=e3068025b64bee24efc1063aba5138708737c158'/>
<id>e3068025b64bee24efc1063aba5138708737c158</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added two extra paramaters for commit to take author date and commit date</title>
<updated>2015-07-17T16:28:55+00:00</updated>
<author>
<name>avi</name>
<email>hi@avi.im</email>
</author>
<published>2015-07-17T16:28:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=141b78f42c7a3c1da1e5d605af3fc56aceb921ab'/>
<id>141b78f42c7a3c1da1e5d605af3fc56aceb921ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index): handle adding symlinks to dirs</title>
<updated>2015-06-26T07:58:47+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-06-26T07:58:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=cfc70fe92d42a853d4171943bde90d86061e3f3a'/>
<id>cfc70fe92d42a853d4171943bde90d86061e3f3a</id>
<content type='text'>
When expanding directories, check if it is a symlink and don't expand
them at all.

Previously, we followed symlinks and expanded their contents, which
could lead to weird index files.

Fixes #302
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When expanding directories, check if it is a symlink and don't expand
them at all.

Previously, we followed symlinks and expanded their contents, which
could lead to weird index files.

Fixes #302
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index): _store_path() now closes it's stream</title>
<updated>2015-04-08T08:13:50+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-04-08T08:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=98f6995bdcbd10ea0387d0c55cb6351b81a857fd'/>
<id>98f6995bdcbd10ea0387d0c55cb6351b81a857fd</id>
<content type='text'>
This should prevent a resource warning given in py3

Fixes #263
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should prevent a resource warning given in py3

Fixes #263
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index): don't write extension data by default</title>
<updated>2015-04-08T07:50:26+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-04-08T07:50:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=8f043d8a1d7f4076350ff0c778bfa60f7aa2f7aa'/>
<id>8f043d8a1d7f4076350ff0c778bfa60f7aa2f7aa</id>
<content type='text'>
It turned out that the index is not actually corrupted, which is good
news. What happens is that `git` writes `TREE` extension data into the
index, which causes it to write out the given tree *as is* next time
a `git commit` is executed. When using `git add`, this extension data
is maintained automatically. However, GitPython doesn't do that ... .
Usually this is no problem at all, as you are supposed to use
`IndexFile.commit(...)` along with `IndexFile.add(...)`.

Thanks to a shortcoming in the GitPython API, the index was
automatically written out whenever files have been added, without
providing control over whether or not *extension data* will be
written along with it.

My fix consists of an additional flag in `IndexFile.add(...)`, which
causes extension data not to be written by default, so commits can be
safely done via `git commit` or `IndexFile.commit(...)`.

However, this might introduce new subtle bugs in case someone is
relying on extension data to be written. As this can be controlled
through the said flag though, a fix is easily done in that case.

Fixes #265
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It turned out that the index is not actually corrupted, which is good
news. What happens is that `git` writes `TREE` extension data into the
index, which causes it to write out the given tree *as is* next time
a `git commit` is executed. When using `git add`, this extension data
is maintained automatically. However, GitPython doesn't do that ... .
Usually this is no problem at all, as you are supposed to use
`IndexFile.commit(...)` along with `IndexFile.add(...)`.

Thanks to a shortcoming in the GitPython API, the index was
automatically written out whenever files have been added, without
providing control over whether or not *extension data* will be
written along with it.

My fix consists of an additional flag in `IndexFile.add(...)`, which
causes extension data not to be written by default, so commits can be
safely done via `git commit` or `IndexFile.commit(...)`.

However, this might introduce new subtle bugs in case someone is
relying on extension data to be written. As this can be controlled
through the said flag though, a fix is easily done in that case.

Fixes #265
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved documentation on IndexFile.add(...)</title>
<updated>2015-02-23T07:34:04+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-02-23T07:33:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=630d030058c234e50d87196b624adc2049834472'/>
<id>630d030058c234e50d87196b624adc2049834472</id>
<content type='text'>
Related to #224
[ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to #224
[ci skip]
</pre>
</div>
</content>
</entry>
</feed>
