summaryrefslogtreecommitdiff
path: root/git/util.py
Commit message (Collapse)AuthorAgeFilesLines
* initial set of adjustments to make (most) imports work.Sebastian Thiel2015-01-041-2/+3
| | | | More to come, especially when it's about strings
* Removed unnecessary (non-gitpython) tests and fixed flake80.3.3Sebastian Thiel2015-01-041-7/+6
|
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-041-1/+3
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Applied autopep8Sebastian Thiel2014-11-191-16/+18
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* pep8 linting (trailing whitespace)Antoine Musso2014-11-161-37/+37
| | | | W291 trailing whitespace
* pep8 linting (whitespace before/after)Antoine Musso2014-11-161-15/+15
| | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals
* pep8 linting (blank lines expectations)Antoine Musso2014-11-161-3/+19
| | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* pep8 linting (whitespaces)Antoine Musso2014-11-161-102/+102
| | | | | | | | | | | W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
* Merge branch 'sf-master' of https://github.com/johnsca/GitPython into ↵Sebastian Thiel2014-11-151-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | johnsca-sf-master Conflicts: git/cmd.py git/objects/commit.py git/objects/fun.py git/objects/util.py git/remote.py git/repo/base.py git/test/lib/helper.py git/test/test_commit.py git/test/test_fun.py git/util.py
| * Fix missed import from d3a7282Dave Brondsema2014-01-281-0/+2
| | | | | | The `finalize_process` method was moved but this import wasn't carried with it.
| * [#5330] Ensure wait() is called on git processesCory Johns2013-10-091-0/+12
| |
* | Simplified get_user_id() and fixed possible python3 compatiblity issue.Sebastian Thiel2014-11-141-31/+15
| | | | | | | | Changed motivated by https://github.com/gitpython-developers/GitPython/pull/52
* | Add patch from to 0.3 branch.William Gibb2014-06-261-6/+15
| | | | | | | | | | https://github.com/gitpython-developers/GitPython/commit/f362d10fa24395c21b1629923ccd705ba73ae996 Related to #43
* | tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-091-610/+610
|/ | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* Submodule now uses a specialized method to remove its trees to allow ↵Sebastian Thiel2011-06-131-1/+19
| | | | read-only files to be removed on windows as well
* Made remote line parsing more stable. On windows it can be that we encounter ↵Sebastian Thiel2011-06-131-1/+12
| | | | partial or intermixed lines from the pipe. This really shouldn't be, but its windows so it happens
* util: Added test for iterable list, and implemented __contains__ and __del__ ↵Sebastian Thiel2011-06-081-1/+33
| | | | functionality
* log: non-existing logs no longer throw an exception, but are ignored. Fixed ↵Sebastian Thiel2011-06-081-0/+3
| | | | critical bug which caused packed-ref files to be written with native line endings, which made git fail to parse it. I wonder why I never noticed this before, or ignored it. Unbelievable \!
* Parse more git-fetch operation log codes.jez2011-06-071-2/+6
|
* Added conditional usage of the --progress flag to all relevant methods, that ↵Sebastian Thiel2011-06-071-34/+0
| | | | is push, fetch, pull and clone. This allows progress information to be sent in newer git versions without breaking older ones (ideally)
* Add progress tracking for git-clone.jez2011-06-071-0/+34
|
* OSX Signal handling: removed previous hack to fix it somehow using sleep - ↵Sebastian Thiel2011-01-121-9/+1
| | | | 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.
* sleep ui hack fix: removed platform.system() to use sys.platform instead, as ↵Sebastian Thiel2011-01-121-3/+2
| | | | platform.system makes a system call itself
* Added the bugfix code as a utility function to be reused wherever this ↵Andreas Gutsche2011-01-061-1/+9
| | | | specific subprocess bug occurs.
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+602
adjusted