aboutsummaryrefslogtreecommitdiff
path: root/git/cmd.py
AgeCommit message (Collapse)Author
2014-07-25Autopep8 fixes with maximum line length 120Craig Northway
2014-07-25Merge pull request #175 from craigez/feature/handle_utf8Sebastian Thiel
Handling unicode arguments
2014-07-25Closing file handles/streamsCraig Northway
2014-07-18Fixing unicode typesCraig Northway
2014-02-09tabs to 4 spaces - overall state of this branch is desolate, but fixable. ↵Sebastian Thiel
Needs plenty of work
2012-10-18Add an output_strip kwarg to Git.executeLorenz Schori
Strip the last line of the output if it is empty (default). Stripping should be disabled whenever it is important that the output is not modified in any way. For example when retrieving patch files using git-diff.
2012-07-24Make GitPython work on non English systemsFlorian Ludwig
2012-05-08Ignore signal exception on AutoInterrupt destructor.Tatsuki Sugiura
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.
2012-05-08Fix fd leak on git cmd.Tatsuki Sugiura
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.
2011-07-06cmd: on windows, we will now fallback to using git.cmd, as the default ↵Sebastian Thiel
installation puts it into the path, instead of git.exe. Of course we warn about the performance penalty that goes with it. Fortunately, using a wrapped git.exe works when creating pipes to the process, admittedly I was a bit surprised by this. fixes #26
2011-07-05Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docsSebastian Thiel
2011-06-13Fixed implementation of _version_info which didn't work for python 2.4 ↵Sebastian Thiel
thanks to the rpartition method. omg
2011-06-08git.version_info now returns exactly 4 numbersSebastian Thiel
2011-06-07First run in order to fix the remote handling. Cleaned up interfaces and ↵Sebastian Thiel
figured out that the implementation really should be specific to the git command. This leaves the interface open for other implemntations which use a different way to provide feedback (as we do not make assumptions about the format of a feedback line)
2011-06-07Added version_info property to git commandSebastian Thiel
2011-01-12OSX Signal handling: removed previous hack to fix it somehow using sleep - ↵Sebastian Thiel
the error was caused by PySide which, when instantiating a QApplication, changed the signal handlers to interrupt, instead of retry operating system calls, which caused git-python to fail subsequently. signal.siginterrupt can be used to fix this behaviour after an QApplication was instatiated.
2011-01-06Added the bugfix code as a utility function to be reused wherever this ↵Andreas Gutsche
specific subprocess bug occurs.
2011-01-06Hacked the wait function so that it works with pyside in OS X by using ↵Andreas Gutsche
"sleep()".
2010-11-25Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel
adjusted