summaryrefslogtreecommitdiff
path: root/git/repo/fun.py
Commit message (Collapse)AuthorAgeFilesLines
* Repo.init() now supports paths with a '~' in it, or environment variables in ↵Sebastian Thiel2015-01-101-3/+5
| | | | | | general. Fixes #83
* Added search_parent_directories keyword argument to Repo type.Sebastian Thiel2015-01-101-20/+9
| | | | | | | | Now by default, we will not walk up the directory structure and possibly find git directories that the user didn't intend to find. If required, that kind of behaviour can be turned back on. Fixes #65
* Improved handling of name-resolution, which will not mangle names anymore.Sebastian Thiel2015-01-081-3/+6
| | | | | | | | | Previously, an unresolvable ref name like HEAD would end up as HEX and was presented as BadObject error, even though that exception is for invalid shas only. Now BadName is thrown, which converts into a more useful error message. Improves #105
* test_repo worksSebastian Thiel2015-01-061-1/+1
|
* test_remote worksSebastian Thiel2015-01-061-1/+1
| | | | | | | And I have to wonder why git-daemon serves under py2.7, but really wants receive-pack to be allowed under 3.4. Maybe it's a repository override which for some reason doesn't work in py3.4 ? Maybe because the change is not flushed ?
* Dum brute force conversion of all types.Sebastian Thiel2015-01-041-0/+1
| | | | | | However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first.
* initial set of adjustments to make (most) imports work.Sebastian Thiel2015-01-041-1/+3
| | | | More to come, especially when it's about strings
* Applied autopep8Sebastian Thiel2014-11-191-19/+21
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* Minor fix to make read_gitfile work .Sebastian Thiel2014-11-191-11/+16
|
* Merge branch 'separate-git-dir' of https://github.com/niyaton/GitPython into ↵Sebastian Thiel2014-11-191-0/+11
|\ | | | | | | | | | | | | niyaton-separate-git-dir Conflicts: git/repo/base.py
| * Added support for separeted git dir.niyaton2013-02-271-0/+11
| |
* | pep8 linting (trailing whitespace)Antoine Musso2014-11-161-5/+5
| | | | | | | | W291 trailing whitespace
* | pep8 linting (double spaces before comment)Antoine Musso2014-11-161-1/+1
| | | | | | | | E261 at least two spaces before inline comment
* | pep8 linting (whitespace before/after)Antoine Musso2014-11-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+5
| | | | | | | | | | | | 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-28/+28
| | | | | | | | | | | | | | | | | | | | | | 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
* | Fixes creating a Repo for a submoduleRemi Rampin2014-04-241-0/+13
| | | | | | | | Fixes #155.
* | tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-091-258/+258
|/ | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* Fixed incorrect handling of rev_parse if it was fed with branches that ↵Sebastian Thiel2011-02-231-1/+5
| | | | looked like hexshas. Thanks to Ning (frostyplanet) who pointed this issue out
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+280
adjusted