<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/lib/git_python/git.py, branch 2.0.8</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>renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed up tests so they pass except for stderr test. Modified version information retrieval.</title>
<updated>2008-05-31T01:01:44+00:00</updated>
<author>
<name>Michael Trier</name>
<email>mtrier@gmail.com</email>
</author>
<published>2008-05-31T01:01:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=233e3ffe0ef35dbabe49340ba567499690dcc166'/>
<id>233e3ffe0ef35dbabe49340ba567499690dcc166</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: make git_dir an optional parameter</title>
<updated>2008-05-30T00:53:30+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-30T00:53:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=cbbb6b349e8d0557e7e55e2d05819d6bdaed3769'/>
<id>cbbb6b349e8d0557e7e55e2d05819d6bdaed3769</id>
<content type='text'>
git_dir is now optional in the constructor for git.Git.
Git now falls back to os.getcwd() when git_dir is not specified.

Furthermore, extra checks were added so that the git_dir
variable always points to the root of the worktree for
non-bare repositories.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git_dir is now optional in the constructor for git.Git.
Git now falls back to os.getcwd() when git_dir is not specified.

Furthermore, extra checks were added so that the git_dir
variable always points to the root of the worktree for
non-bare repositories.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: always strip trailing whitespace and add an option to not do so</title>
<updated>2008-05-29T09:18:28+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T09:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4e509130b7dfc97eeb4a517d6c9c65a8d6204234'/>
<id>4e509130b7dfc97eeb4a517d6c9c65a8d6204234</id>
<content type='text'>
We now strip off any trailing whitespace.
We inhibit this behavior when git.foo( with_raw_output=True )
is called.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now strip off any trailing whitespace.
We inhibit this behavior when git.foo( with_raw_output=True )
is called.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: add support for merging stderr into stdout</title>
<updated>2008-05-29T09:16:28+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T09:16:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c4d5e7c9dab813adf9bfd8198bb9bb00c9a9503b'/>
<id>c4d5e7c9dab813adf9bfd8198bb9bb00c9a9503b</id>
<content type='text'>
When git.foo( with_stderr=True ) is called, stderr is returned
along with stdout in a merged stream.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When git.foo( with_stderr=True ) is called, stderr is returned
along with stdout in a merged stream.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: add a with_exceptions keyword argument</title>
<updated>2008-05-29T09:13:27+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T09:13:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=323259cc3d977235f4e7e8980219e5e96d66086e'/>
<id>323259cc3d977235f4e7e8980219e5e96d66086e</id>
<content type='text'>
When git.foo( with_exceptions=True ) is called a
GitCommandError is raised when the exit status is non-zero.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When git.foo( with_exceptions=True ) is called a
GitCommandError is raised when the exit status is non-zero.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: add support for git.foo( with_status=True )</title>
<updated>2008-05-29T09:07:41+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T09:07:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=58fa2c401856f93712ae6cc45d4dc3458ee4b4f4'/>
<id>58fa2c401856f93712ae6cc45d4dc3458ee4b4f4</id>
<content type='text'>
Passing with_status to an arbitrary git command causes execute
to return (status_code, output) instead of the typical
returned output.

This is useful when callers need access to the exit status code.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Passing with_status to an arbitrary git command causes execute
to return (status_code, output) instead of the typical
returned output.

This is useful when callers need access to the exit status code.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: add support for passing in a stdin input stream</title>
<updated>2008-05-29T08:59:38+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T08:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=2405cf54ac06140a0821f55b34c1d54f699e8e73'/>
<id>2405cf54ac06140a0821f55b34c1d54f699e8e73</id>
<content type='text'>
execute/method_missing now support:

	fh = open('filename', 'r')
	print git.foo( istream=fh )
	fh.close()

The name "istream" was chosen so that it would not conflict
with any of the builtin git flags.  "stdin", for instance,
is used by git.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
execute/method_missing now support:

	fh = open('filename', 'r')
	print git.foo( istream=fh )
	fh.close()

The name "istream" was chosen so that it would not conflict
with any of the builtin git flags.  "stdin", for instance,
is used by git.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: always use "git foo" and never "git-foo"</title>
<updated>2008-05-29T08:55:21+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T08:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=579d1b8174c9be915c0fa17a67fc38cc6de36ad7'/>
<id>579d1b8174c9be915c0fa17a67fc38cc6de36ad7</id>
<content type='text'>
gitsters on the git mailing list have been slowly deprecating
the usage of "git-foo" commands.  The preferred invocation
is "git foo".

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gitsters on the git mailing list have been slowly deprecating
the usage of "git-foo" commands.  The preferred invocation
is "git foo".

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: add support for a GIT_PYTHON_TRACE environment variable</title>
<updated>2008-05-29T04:50:11+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T04:50:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=a7129dc00826cb344c0202f152f1be33ea9326fe'/>
<id>a7129dc00826cb344c0202f152f1be33ea9326fe</id>
<content type='text'>
GIT_PYTHON_TRACE allows us to debug GitPython's usage of
git through the use of an environment variable.

This is preferred over a hard-coded print statement.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GIT_PYTHON_TRACE allows us to debug GitPython's usage of
git through the use of an environment variable.

This is preferred over a hard-coded print statement.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>git.py: properly handle single-character flags with arguments</title>
<updated>2008-05-29T04:28:15+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-05-29T04:28:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=1accc498c40e684f870d38b7d128739a0ebf57cf'/>
<id>1accc498c40e684f870d38b7d128739a0ebf57cf</id>
<content type='text'>
"git diff -U5" is correct while "git diff -U 5" is not.
ditto for "git log -U5", "git commit -F/some/path", etc.

The original version of transform_kwargs was setting up the
command line arguments such that single-character flags with
arguments were not understood by git.

This changes transform_kwargs so that the flag and argument
are both part of the same string for single-character flags.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"git diff -U5" is correct while "git diff -U 5" is not.
ditto for "git log -U5", "git commit -F/some/path", etc.

The original version of transform_kwargs was setting up the
command line arguments such that single-character flags with
arguments were not understood by git.

This changes transform_kwargs so that the flag and argument
are both part of the same string for single-character flags.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
