aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-15Added the first submodule will no longer cause an IOError.Sebastian Thiel
This is verified by the respective test. Fixes #117
2015-01-15Added sphinx build process to end of travis test chainSebastian Thiel
2015-01-14Fixed some doc strings to build correctly with sphinxSebastian Thiel
Fixes #7 [ci skip]
2015-01-14An attempt to help the threaded reading to not show spurious errors anymore.Sebastian Thiel
It does not necessarily seem to work, but at least we don't access a dict concurrently anymore.
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-13Fixed youtube playlist linkSebastian Thiel
[ci skip]
2015-01-13Added `Repo.merge_base(...)` implementation, including test-case.Sebastian Thiel
Fixes #169
2015-01-12Bumped version to 0.3.5, required latest gitdb (v0.6.4)0.3.5Sebastian Thiel
2015-01-12IndexFile.commit() now runs pre-commit and post-commit hooks.Sebastian Thiel
However, it does so only on posix. The test-case will run on posix only as well. Please note that in theory, even on windows we will attempt to run hooks, even though I am not sure that this will actually work. Fixes #81
2015-01-12Removed os.path.realpath invocations as they are not necessary if paths are ↵Sebastian Thiel
used consistently. This will save IOPs, and make the code easier to understand (I suppose). Related to #224
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 twitch/youtube information to ReadmeSebastian Thiel
2015-01-10Added 'user' configuration level.Sebastian Thiel
Fixes #160
2015-01-10Fixed test to actually use tilde and environment variables respectively.Sebastian Thiel
Related to #83
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-10rewrote test-string to have a chance to make flake8 happy.Sebastian Thiel
That way, flake won't have to completely ignore issues it might have in other portions of this file.
2015-01-10Implemented multi-line parsing of git-config to the point where a sepcific ↵Sebastian Thiel
test-file is working. This brings us much closer to what git can do, and should at least prevent errors while reading configuration files (which would break a lot of features, like handling of remotes since these rely reading configuration files). Fixes #112
2015-01-09Added test for complex blame revision query.Sebastian Thiel
It works as expected by me at least. Related to #71
2015-01-09Now Diff.__str__ works correctly in all python versions.Sebastian Thiel
Additionally, unicode handling was improved to the point where we deal with all diff(create_path=True) data as binary. Therefore we don't claim to know all encodings of all textfiles in the world, even though we still assume that everything git throws at us is utf-8 encoded. Fixes #113
2015-01-09Fixed mode-handling in Diff creation, and added assertions to catch this in ↵Sebastian Thiel
future There is still some work todo in terms of how we handle the encoding
2015-01-09Added test to verify binary diffs are working as well.Sebastian Thiel
Related to #74
2015-01-09Added test to verify binary diffs are working as well.Sebastian Thiel
Related to #74
2015-01-09Added test to assure blame can deal with binary patches.Sebastian Thiel
Fixes #74
2015-01-08Now finally, tests should be working on travis too.Sebastian Thiel
Now handling the new exception BadName as well
2015-01-08Updated submodule to latest commit, hopefully fixing travisSebastian Thiel
2015-01-08Improved empty-repo testSebastian Thiel
Helps to clarify #55
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-08And finally, PY3 support should be restored.Sebastian Thiel
Forgot to fix the test, which used the same broken version_info condition
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-08Auto-update odb caches after fetch or pull.Sebastian Thiel
Fixes #34
2015-01-08Added test to verify blame commits can have multiple lines.Sebastian Thiel
See #47
2015-01-08Added support for rename detection in raw mode (which is the default).Sebastian Thiel
Fixes #36
2015-01-08Added assertion to better detect diff issues.Sebastian Thiel
Helps fixing #35 Also, the production status was changed to 'stable', which should have been done much earlier.
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-07Merge branch 'firm1-commit_by_actor'Sebastian Thiel
2015-01-07Made sure commits accept unicode or unicode charactersSebastian Thiel
2015-01-07Merge branch 'commit_by_actor' of https://github.com/firm1/GitPython into ↵Sebastian Thiel
firm1-commit_by_actor
2015-01-07fix pep8firm1
2015-01-07add documentationfirm1
2015-01-07add tests for commit by actorfirm1
2015-01-07suppression des prefixes de commitfirm1
2015-01-07add support of utf8firm1
2015-01-07Merge branch 'nonblocking-ops'Sebastian Thiel
Fixes #145