<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/lib/git/cmd.py, branch 0.1.4</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Added license information to all files.</title>
<updated>2008-07-17T02:18:21+00:00</updated>
<author>
<name>Michael Trier</name>
<email>mtrier@gmail.com</email>
</author>
<published>2008-07-17T02:18:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=bfdf98cadedfa6042117cd7a83952ca2f465d26f'/>
<id>bfdf98cadedfa6042117cd7a83952ca2f465d26f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed http://groups.google.com/group/git-python/browse_thread/thread/b8f3580abf31f9db?hl=en# and passed Git a working_tree again (sort of).</title>
<updated>2008-06-24T22:43:07+00:00</updated>
<author>
<name>Florian Apolloner</name>
<email>florian@apolloner.eu</email>
</author>
<published>2008-06-24T22:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=990d1fe06e8c2db48a895aaa7e5e5eda8b330a5c'/>
<id>990d1fe06e8c2db48a895aaa7e5e5eda8b330a5c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>continued yesterdays work on the execute stuff</title>
<updated>2008-06-21T16:44:07+00:00</updated>
<author>
<name>Florian Apolloner</name>
<email>florian@apolloner.eu</email>
</author>
<published>2008-06-21T16:44:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c63cd9873bf733c068a5f183442ec82873fef1fc'/>
<id>c63cd9873bf733c068a5f183442ec82873fef1fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>made with_exceptions=True default (don't look before you leak ;)) and removed the combined output of stderr and stdout.</title>
<updated>2008-06-20T21:22:52+00:00</updated>
<author>
<name>Florian Apolloner</name>
<email>florian@apolloner.eu</email>
</author>
<published>2008-06-20T21:22:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5b01b589e7a19d6be5bd6465e600f84aa8015282'/>
<id>5b01b589e7a19d6be5bd6465e600f84aa8015282</id>
<content type='text'>
Also renamed with_status to extended_output.
The method_missing function needs to be modified, as it does a kwargs.pop(xxx, None); which resulted in with_excpetions=None -&gt; False all the time...
Test should follow tomorrow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also renamed with_status to extended_output.
The method_missing function needs to be modified, as it does a kwargs.pop(xxx, None); which resulted in with_excpetions=None -&gt; False all the time...
Test should follow tomorrow.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: rename with_keep_cwd to keep_cwd</title>
<updated>2008-06-16T00:03:53+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-06-16T00:03:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=3980f11a9411d0b487b73279346cfae938845e7a'/>
<id>3980f11a9411d0b487b73279346cfae938845e7a</id>
<content type='text'>
Having execute() use a different directory is an important piece
of API information so I added more documentation about it and
renamed the flag to just "keep_cwd" since that's shorter and simpler.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Having execute() use a different directory is an important piece
of API information so I added more documentation about it and
renamed the flag to just "keep_cwd" since that's shorter and simpler.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge commit 'sverre/master' into david</title>
<updated>2008-06-15T23:54:43+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-06-15T23:54:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=579e2c07bbb39577fa32fed8cb42297c1c5516d8'/>
<id>579e2c07bbb39577fa32fed8cb42297c1c5516d8</id>
<content type='text'>
* commit 'sverre/master':
  Added a with_keep_cwd option
  Improved the GIT_PYTHON_TRACE=full output format
  Added /dist to .gitignore

Conflicts:

	lib/git/cmd.py

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* commit 'sverre/master':
  Added a with_keep_cwd option
  Improved the GIT_PYTHON_TRACE=full output format
  Added /dist to .gitignore

Conflicts:

	lib/git/cmd.py

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: better support for bare repositories</title>
<updated>2008-06-15T23:45:29+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-06-15T23:45:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=fd5f111439e7a2e730b602a155aa533c68badbf8'/>
<id>fd5f111439e7a2e730b602a155aa533c68badbf8</id>
<content type='text'>
In order to avoid the expense of parsing .git/config
just to know whether or not a repository is bare
at __init__ time, we just pass an optional flag to
Git.__init__():
	bare_repo with a default value of False.

Repo.init_bare() was updated to pass this flag.

We could have an optional Git.read_bare_status() function
that does the expensive lookup.  Then, users can optionally
call it at runtime if they really need to know whether or not
a repository is bare.  That seems like a decent tradeoff between
speed, correctness, and common use cases.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to avoid the expense of parsing .git/config
just to know whether or not a repository is bare
at __init__ time, we just pass an optional flag to
Git.__init__():
	bare_repo with a default value of False.

Repo.init_bare() was updated to pass this flag.

We could have an optional Git.read_bare_status() function
that does the expensive lookup.  Then, users can optionally
call it at runtime if they really need to know whether or not
a repository is bare.  That seems like a decent tradeoff between
speed, correctness, and common use cases.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a with_keep_cwd option</title>
<updated>2008-06-13T18:39:52+00:00</updated>
<author>
<name>Sverre Rabbelier</name>
<email>sverre@rabbelier.nl</email>
</author>
<published>2008-06-13T18:10:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=0aa1ce356c7c3d53d6ee035b4c7bcf425e108cdc'/>
<id>0aa1ce356c7c3d53d6ee035b4c7bcf425e108cdc</id>
<content type='text'>
When executing commands, if the with_keep_cwd option is
specified, the current working directory will be set to
os.getcwd() instead of the directory containing the
.git directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When executing commands, if the with_keep_cwd option is
specified, the current working directory will be set to
os.getcwd() instead of the directory containing the
.git directory.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved the GIT_PYTHON_TRACE=full output format</title>
<updated>2008-06-13T18:39:52+00:00</updated>
<author>
<name>Sverre Rabbelier</name>
<email>sverre@rabbelier.nl</email>
</author>
<published>2008-06-13T17:40:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=b38020ae17ed9f83af75ce176e96267dcce6ecbd'/>
<id>b38020ae17ed9f83af75ce176e96267dcce6ecbd</id>
<content type='text'>
It now also shows stderr if there was any on it, and only
shows stdout if there was any output. Also added a '-&gt;'
between the command and the return value as a visual clue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It now also shows stderr if there was any on it, and only
shows stdout if there was any output. Also added a '-&gt;'
between the command and the return value as a visual clue.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd: properly handle cwd for repos with work trees</title>
<updated>2008-06-12T10:01:09+00:00</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2008-06-12T10:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=abc2e538c6f2fe50f93e6c3fe927236bb41f94f4'/>
<id>abc2e538c6f2fe50f93e6c3fe927236bb41f94f4</id>
<content type='text'>
This is a fix on top of Govind's latest performance improvement.

self._cwd was always set to self._git_dir which means
a lot of commands that require work trees were not available
to GitPython.  Execute now uses self._cwd which is equal to
self._git_dir by default, and self.get_work_tree() if a work tree
exists.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a fix on top of Govind's latest performance improvement.

self._cwd was always set to self._git_dir which means
a lot of commands that require work trees were not available
to GitPython.  Execute now uses self._cwd which is equal to
self._git_dir by default, and self.get_work_tree() if a work tree
exists.

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