Fixed NameError
Fix fd leak on git cmd.

Currently if command is called with as_proces=True, pipes for the
command will not be closed.

This change makes sure to close command file descriptors.

Conflicts:
	git/cmd.py
Ignore signal exception on AutoInterrupt destructor.

When command run as subprocess, AutoInterrupt will kill the
process on destructor. However, if process already finished,
it raise OSError exception.

This fix just ignore OSError on os.kill.

Conflicts:
	git/cmd.py
List runtime dependencies in requirements.txt

More and more packages are listing their dependencies in
requirements.txt which make it trivial to maintain and install them.
Use tox to easily run tests in venv

tox https://pypi.python.org/pypi/tox is a thin wrapper around virtualenv
which let you craft a fresh python environement to execute command in.

It creates the env with virtualenv, install dependencies, run python
setup.py install in it and then execute whatever command you want it to
do and report status.

To do so I simply:

- listed tests dependencies in test-requirements.txt (which are just
  nose and mock)
- provide a tox.ini file which describe how to install the dependencies
  and execute nosetests
- added the module 'coverage' to the list of test dependencies

To run tests simply:

 pip install tox && tox

That will execute the test command 'nosetests' using python2.6 and then
python 2.7.

The additional env 'cover' can be run using: tox -ecover.
tox env to easily run flake8

Most people know about pep8 which enforce coding style.  pyflakes goes a
step beyond by analyzing the code.

flake8 is basically a wrapper around both pep8 and pyflakes and comes
with some additional checks.  I find it very useful since you only need
to require one package to have a lot of code issues reported to you.

This patch provides a 'flake8' tox environement to easily install and
run the utility on the code base.  One simply has to:

 tox -eflake8

The env has been added to the default list of environement to have
flake8 run by default.

The repository in its current state does not pass checks but I noticed a
pull request fixing pep8 issues.  We can later easily ensure there is no
regression by adjusting Travis configuration to run this env.

More informations about flake8: https://pypi.python.org/pypi/flake8
Ensure consistent output from git command

The git command output can vary by language which would cause assertions
errors when parsing the output.

On POSIX system the language used by git can be adjusted by LC_MESSAGES.
The special language 'C' is guaranteed to be always available and is
whatever default the software has been written in (usually english, the
case for git).

Thus passing LC_MESSAGES to Popen will ensure we receive from git a
consistent output regardless of the user preference.

Addresses #153
GPG signature support on commit object.

Originals:
Pull request "GPG signature support on commit object" #124 by Tatsuki Sugiura.
https://github.com/gitpython-developers/GitPython/pull/124
commit 8065d2abdbb18e09560fc061807301b4c834d5a7
commit 62ecd6c66a84144632b045696326af503ee8cd4e
Fix issue #41: repo.is_dirty() on empty repository with stashed files
Fix the `git version` parser.
GitRunCommand exception can store stdout output too.

Some git commands, like git merge outputs their problems onto stdout,
instead of stderr, which will be thrown away by the current setup. This
change allows the GitPython commands to store the stdout's value too,
in case of error.
Basic test for __unpack_args to verify unicode handling works

(cherry picked from commit 8fa25b1cd5a82679c7b12d546b96c30cafed0559)
Signed-off-by: David Black <dblack@atlassian.com>

Conflicts:
	git/test/test_git.py
Fixing unicode types

(cherry picked from commit ca2b901e7229fc5c793762fd4e4c1c38c5a78e80)
Switch http://github.com/gitpython-developers/gitdb.git to https://github.com/gitpython-developers/gitdb.git .

Signed-off-by: David Black <dblack@atlassian.com>
Fix the Repo commit and tree methods to work with unicode revs.

Signed-off-by: David Black <dblack@atlassian.com>
Merge pull request #200 from dbaxa/0.3-with-unicode-fixes

0.3 with unicode fixes
Merge pull request #198 from folti/0.3

GitRunCommand exception can store stdout output too.
Merge pull request #195 from maxyz/github-pull-88

Fix the `git version` parser.
Merge pull request #194 from maxyz/fix-issue-41_0.3

Fix issue #41: repo.is_dirty() on empty repository with stashed files
Merge pull request #181 from hashar/git-exec-const-output

Ensure consistent output from git command