aboutsummaryrefslogtreecommitdiff
path: root/git/repo
AgeCommit message (Collapse)Author
2015-01-19Improved installation docs to mention `pip`, not `easy_install`Sebastian Thiel
Fixes #235 [ci skip]
2015-01-19Implemented Submodule.rename()Sebastian Thiel
A test verifies it's truly working. Related to #238
2015-01-17Submodule.remove() now seems to work properly, nearly all tests are back.Sebastian Thiel
This also means that now we seem to be able to properly handle .git files in submodules Related to #233
2015-01-17Submodule.remove() now deals with .git files correctly.Sebastian Thiel
A simple test verifies this at least.
2015-01-14Fixed some doc strings to build correctly with sphinxSebastian Thiel
Fixes #7 [ci skip]
2015-01-14Added 'path' keyword argument to Repo.archive().Sebastian Thiel
This allows sub-trees to be archived as well, and makes `.archive()` feature complete. Fixes #67
2015-01-14GitConfigParser now respects and merges 'include' sectionsSebastian Thiel
We implement it as described in this article: http://stackoverflow.com/questions/1557183/is-it-possible-to-include-a-file-in-your-gitconfig Thus we handle * cycles * relative and absolute include paths * write-backs in case of writable GitConfigParser instances Fixes #201
2015-01-13Added `Repo.merge_base(...)` implementation, including test-case.Sebastian Thiel
Fixes #169
2015-01-12Removed all previously added invocations of os.path.realpath as it wasn't ↵Sebastian Thiel
required afterall. Turns out that the now removed `read_gitfile` functions applied os.path.realpath which caused the issue described in #224. Fixes #224
2015-01-12Repo paths are now converted to real paths, as well as all paths involved in ↵Sebastian Thiel
index related work. That way, we don't try to compare a real-path to a non-real one, which would make the implementation think a file is not actually part of the repository. Fixes #224
2015-01-12Added specific test for roughly checking configuration paths.Sebastian Thiel
For some reason, I didn't trust the existing one as it tests that code more indirectly. Related to #160
2015-01-12Re-implemented 'user' config level based on suggestion by @jzempelSebastian Thiel
The point is that XDG_CONFIG_HOME is meant to point at the '.config' directory, whereas '.config' has to be added only if HOME is used instead. Fixes #160
2015-01-10Added 'user' configuration level.Sebastian Thiel
Fixes #160
2015-01-10Repo.init() now supports paths with a '~' in it, or environment variables in ↵Sebastian Thiel
general. Fixes #83
2015-01-10Added search_parent_directories keyword argument to Repo type.Sebastian Thiel
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
2015-01-09Added test to assure blame can deal with binary patches.Sebastian Thiel
Fixes #74
2015-01-08Improved handling of name-resolution, which will not mangle names anymore.Sebastian Thiel
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
2015-01-08Fixed PY3 support.Sebastian Thiel
Apparently, thanks to an incorrect version check, PY3 ended up using a git command object database by default. This is now fixed. Additionally, the update_cache code was adjusted to check for method-existence, as it's valid to use object databases which simply don't have a caching mechanism (like the git command object database)
2015-01-08Added Remote.exists() method, and test. Fixes #229Sebastian Thiel
2015-01-08Improve error handling of fetch/pull line parsingSebastian Thiel
Fixes #48
2015-01-07Made improvements to assure test-cases don't leak file handlesSebastian Thiel
At least leakage is considerably reduced. Additionally, a test-case was added which triggers failure if auto-disposal of resources wouldn't work. Fixes #60
2015-01-07Implemented non-blocking operations using poll()Sebastian Thiel
Next up is using threads
2015-01-06test_repo worksSebastian Thiel
2015-01-06test_remote worksSebastian Thiel
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 ?
2015-01-06test_index worksSebastian Thiel
2015-01-05test_commit works once againSebastian Thiel
2015-01-04Dum brute force conversion of all types.Sebastian Thiel
However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first.
2015-01-04initial set of adjustments to make (most) imports work.Sebastian Thiel
More to come, especially when it's about strings
2015-01-04Removed unnecessary (non-gitpython) tests and fixed flake80.3.3Sebastian Thiel
2015-01-04Bumped version, updated changelog, reduced code smellSebastian Thiel
There is more work to do though, as many imports are still incorrect. Also, there are still print statements
2014-11-19Applied autopep8Sebastian Thiel
Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
2014-11-19Minor fix to make read_gitfile work .Sebastian Thiel
2014-11-19Merge branch 'separate-git-dir' of https://github.com/niyaton/GitPython into ↵Sebastian Thiel
niyaton-separate-git-dir Conflicts: git/repo/base.py
2014-11-16pep8 linting (trailing whitespace)Antoine Musso
W291 trailing whitespace
2014-11-16pep8 linting (double spaces before comment)Antoine Musso
E261 at least two spaces before inline comment
2014-11-16pep8 linting (whitespace before/after)Antoine Musso
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
2014-11-16pep8 linting (blank lines expectations)Antoine Musso
E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
2014-11-16pep8 linting (whitespaces)Antoine Musso
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
2014-11-15Merge branch 'sf-master' of https://github.com/johnsca/GitPython into ↵Sebastian Thiel
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
2014-11-14Merge pull request #194 from maxyz/fix-issue-41_0.3Sebastian Thiel
Fix issue #41: repo.is_dirty() on empty repository with stashed files
2014-11-12Merge pull request #200 from dbaxa/0.3-with-unicode-fixesSebastian Thiel
0.3 with unicode fixes
2014-11-12Fix the Repo commit and tree methods to work with unicode revs.David Black
Signed-off-by: David Black <dblack@atlassian.com>
2014-09-29Fix issue #41: repo.is_dirty() on empty repository with stashed filesJan Vcelak
2014-06-13Fixed two minor typos.Marios Zindilis
2014-05-09Fix typo in untracked_filess1341
2014-05-06Fix for untracked_files no longer detected #138Maximiliano Curia
2014-04-24Fixes creating a Repo for a submoduleRemi Rampin
Fixes #155.
2014-02-09tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel
probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
2013-10-09[#5330] Ensure wait() is called on git processesCory Johns
2013-02-27Added support for separeted git dir.niyaton