| Age | Commit message (Collapse) | Author |
|
|
|
Add missing requirements
|
|
test_fetch_info error, FETCH_HEAD uses tabs
|
|
Fix issue #41: repo.is_dirty() on empty repository with stashed files
|
|
|
|
|
|
|
|
Fixing issue #186: 'tuple index out of range' issue when uploading to private Pypi repository
|
|
(v2.7.7): the 'requires' field tuple should be a list(https://github.com/gitpython-developers/GitPython/issues/186)
|
|
Update the config parser using code from python2.7
|
|
Fix `git push` hanging when stdout/stderr is big
|
|
Fixes GH-145
|
|
Notably this adds support for valueless options
( e.x. the option "required" which can be added to filters
which must succeed.)
|
|
Autopep8 style whitespace cleanups & pre-commit hook
|
|
|
|
Handling unicode arguments
|
|
Closing file handles/streams
|
|
|
|
|
|
|
|
Fix for untracked_files no longer detected #138
|
|
|
|
Fix typo in tutorial
|
|
* feature/spaces-and-cleanup-master:
Basic fixes to get tests back on track. Of course there is much more work to be done here
removed leftover gitdb - I thought it was merged into git
tabs to 4 spaces - overall state of this branch is desolate, but fixable. Needs plenty of work
|
|
be done here
|
|
|
|
Needs plenty of work
|
|
|
|
Fixup/readme
|
|
Fixup/doc/intro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add an output_strip kwarg to Git.execute
|
|
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.
|
|
Fix GitPython on systems with language != english
|
|
|
|
|
|
detect renames in "git diff --raw" output
|
|
|
|
potentially fixes https://github.com/gitpython-developers/GitPython/issues/36
|
|
Incorrect handling of backslashes and quotes in GitConfigParser
Steps to reproduce the issue:
import git
config = git.Repo().config_writer()
config.add_section('test')
config.set_value('test', 'test', r'some\data')
Now if you try to read this value using a regular (non Python) git config, Git complains that the configuration file is invalid:
fatal: bad config file line 11 in .git/config
Indeed, if you open .git/config you can see that the value is written as:
[test]
test = some\data
While the git-config configuration states that:
String values may be entirely or partially enclosed in double quotes. You need to enclose variable values in double quotes if you want to preserve leading or trailing whitespace, or if the variable value contains comment characters (i.e. it contains # or ;). Double quote " and backslash \ characters in variable values must be escaped: use \" for " and \ for .
That is, the backslashes are not escaped in the configuration file.
This also causes issues while reading, because values are not un-escaped.
This pull request fixes both those issues and also fixes unescaped quotes pairs.
A test-case has been provided along with the fixes.
|
|
Fixed 'Inappropriate ioctl for device' problem on posix systems
Without an active login shell on linux or osx, we now use the password database to obtain the active login, instead of relying on environment variables).
|
|
Fixes on cmd.py (fd leak and signal exception)
Currently if command is called with as_proces=True, pipes for the
command will not be closed.
cb68f36 makes sure to close command file descriptors.
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.
|
|
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.
|
|
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.
|