<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/cmd.py, branch 2.0.4</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Use proper syntax for conditional expression</title>
<updated>2016-05-26T21:51:19+00:00</updated>
<author>
<name>Aleksander Nitecki</name>
<email>ixendr@itogi.re</email>
</author>
<published>2016-05-26T21:51:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=39164b038409cb66960524e19f60e83d68790325'/>
<id>39164b038409cb66960524e19f60e83d68790325</id>
<content type='text'>
(instead of abusing the "short-circuit" property of logical operations)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(instead of abusing the "short-circuit" property of logical operations)</pre>
</div>
</content>
</entry>
<entry>
<title>fix(remote): use universal_newlines for fetch/push</title>
<updated>2016-05-26T17:41:00+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-05-26T17:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=515a6b9ccf87bd1d3f5f2edd229d442706705df5'/>
<id>515a6b9ccf87bd1d3f5f2edd229d442706705df5</id>
<content type='text'>
That way, real-time parsing of output should finally be possible.

Related to #444
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That way, real-time parsing of output should finally be possible.

Related to #444
</pre>
</div>
</content>
</entry>
<entry>
<title>import OrderedDict from git.odict rather than directly from collections, to pix Py2.6 compatibility</title>
<updated>2016-05-26T06:52:30+00:00</updated>
<author>
<name>Kenneth Hoste</name>
<email>kenneth.hoste@ugent.be</email>
</author>
<published>2016-05-26T06:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=9989f8965f34af5009361ec58f80bbf3ca75b465'/>
<id>9989f8965f34af5009361ec58f80bbf3ca75b465</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cmd): fix with_stdout implementation</title>
<updated>2016-05-24T15:52:55+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-05-24T15:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7228ca9bf651d9f06395419752139817511aabe1'/>
<id>7228ca9bf651d9f06395419752139817511aabe1</id>
<content type='text'>
Admittedly this fix is solely based on the documentation provided
for this parameter, which indicated a different intend than was
actually implemented. Also I don't believe doing this will cause
any harm.

As a special note: the call to `open(os.devnull, 'wb')` does not seem leak
the handle, apparently it is given as-is to the subprocess, which will then
close it naturally. This was tested using an interactive session via `htop`
on osx.

Fixes #437
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Admittedly this fix is solely based on the documentation provided
for this parameter, which indicated a different intend than was
actually implemented. Also I don't believe doing this will cause
any harm.

As a special note: the call to `open(os.devnull, 'wb')` does not seem leak
the handle, apparently it is given as-is to the subprocess, which will then
close it naturally. This was tested using an interactive session via `htop`
on osx.

Fixes #437
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cmd): don't catch progress handler exceptions</title>
<updated>2016-05-24T13:55:40+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-05-24T13:55:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7a8f96cc8a5135a0ece19e600da914dabca7d215'/>
<id>7a8f96cc8a5135a0ece19e600da914dabca7d215</id>
<content type='text'>
Fixes #435
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #435
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix order of operators before executing the git command</title>
<updated>2016-05-12T15:43:59+00:00</updated>
<author>
<name>Guyzmo</name>
<email>guyzmo+github@m0g.net</email>
</author>
<published>2016-05-12T14:35:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=89ade7bfff534ae799d7dd693b206931d5ed3d4f'/>
<id>89ade7bfff534ae799d7dd693b206931d5ed3d4f</id>
<content type='text'>
Since Python 3.3, the hash value of an object is seeded randomly, making it
change between each call. As a consequence, the `dict` type relying on the hash
value for the order of the items upon iterating on it, and the parameters
passed to `git` being passed as `kwargs` to the `execute()` method, the order
of parameters will change randomly between calls.

For example, when you call `git.remote.pull()` in a code, two consecutives run
will generate:

1. git pull --progress -v origin master
2. git pull -v --progress origin master

Within the `transform_kwargs()` method, I'm promoting `kwargs` into an
`collections.OrderedDict` being built with `kwargs` sorted on the keys.
Then it will ensure that each subsequent calls will execute the
parameters in the same order.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since Python 3.3, the hash value of an object is seeded randomly, making it
change between each call. As a consequence, the `dict` type relying on the hash
value for the order of the items upon iterating on it, and the parameters
passed to `git` being passed as `kwargs` to the `execute()` method, the order
of parameters will change randomly between calls.

For example, when you call `git.remote.pull()` in a code, two consecutives run
will generate:

1. git pull --progress -v origin master
2. git pull -v --progress origin master

Within the `transform_kwargs()` method, I'm promoting `kwargs` into an
`collections.OrderedDict` being built with `kwargs` sorted on the keys.
Then it will ensure that each subsequent calls will execute the
parameters in the same order.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support repeated kwargs</title>
<updated>2016-04-19T19:47:45+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>me@nvie.com</email>
</author>
<published>2016-04-18T09:08:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=a3c89a5e020bb4747fd9470ba9a82a54c33bb5fa'/>
<id>a3c89a5e020bb4747fd9470ba9a82a54c33bb5fa</id>
<content type='text'>
Some Git command line options are allowed to be repeated multiple times.
Examples of this are the -C flag which may occur more than once to
"strengthen" its effect, or the -L flag on Git blames, to select
multiple blocks of lines to blame.

    $ git diff -C -C HEAD~1 HEAD
    $ git blame -L 1-3 -L 12-18 HEAD -- somefile.py

This patch supports passing a list/tuple as the value part for kwargs,
so that the generated Git command contain the repeated options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some Git command line options are allowed to be repeated multiple times.
Examples of this are the -C flag which may occur more than once to
"strengthen" its effect, or the -L flag on Git blames, to select
multiple blocks of lines to blame.

    $ git diff -C -C HEAD~1 HEAD
    $ git blame -L 1-3 -L 12-18 HEAD -- somefile.py

This patch supports passing a list/tuple as the value part for kwargs,
so that the generated Git command contain the repeated options.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure .read() and friends always return bytes</title>
<updated>2016-04-06T15:12:23+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>me@nvie.com</email>
</author>
<published>2016-04-06T15:12:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=6271586d7ef494dd5baeff94abebbab97d45482b'/>
<id>6271586d7ef494dd5baeff94abebbab97d45482b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cmd): Use buffered reads</title>
<updated>2016-02-25T03:39:18+00:00</updated>
<author>
<name>Colin Snover</name>
<email>csnover@users.noreply.github.com</email>
</author>
<published>2016-02-25T03:39:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5982ff789e731c1cbd9b05d1c6826adf0cd8080b'/>
<id>5982ff789e731c1cbd9b05d1c6826adf0cd8080b</id>
<content type='text'>
Popen defaults to using unbuffered reads, which are extremely slow.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Popen defaults to using unbuffered reads, which are extremely slow.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cmd): allow improved errors during clone operation</title>
<updated>2016-02-14T17:22:28+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-02-14T17:22:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=121f6af3a75e4f48acf31b1af2386cdd5bf91e00'/>
<id>121f6af3a75e4f48acf31b1af2386cdd5bf91e00</id>
<content type='text'>
Related to #383
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to #383
</pre>
</div>
</content>
</entry>
</feed>
