aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-28Merge pull request #275 from kylepjohnson/masterSebastian Thiel
Fix typo
2015-03-27Fix typoKyle P. Johnson
2015-03-02Merge pull request #266 from jeblair/masterSebastian Thiel
Store path attribute on Diff object
2015-03-02Store path attribute on Diff objectJames E. Blair
If a file in a commit contains no changes (for example, if only the file mode is changed) there will be no blob attached. This is usually where the filename is stored, so without it, the calling context can not tell what file was changed. Instead, always store a_path and b_path on the Diff object so that information is available.
2015-03-02fix(iter-commit): ambiguous argument errorSebastian Thiel
In repositories like > git branch -a * test > ls test `repo.iter_commits` failed due to an ambigous argument (`'git rev-list test`). Now this cannot happen anymore. fixes #264
2015-02-23Improved documentation on IndexFile.add(...)Sebastian Thiel
Related to #224 [ci skip]
2015-02-21Fixed trailing white space!Sebastian Thiel
Think about how expensive this single invisible character was, with all the time and energy spent on it !
2015-02-21`stale_refs()` may now also handle other kinds of references, like tags.Sebastian Thiel
Fixes #260
2015-02-21Added 'insert_kwargs_after' flag for consumption by _call_process.Sebastian Thiel
While at it, all other invocations of .git in remote.py were reviewed Fixes #262
2015-02-21Merge pull request #261 from yarikoptic/bf/no-master-checkoutSebastian Thiel
BF: do not checkout master -- that ruins testing of PRs
2015-02-20BF: do not checkout master -- that ruins testing of PRs. "reset" master to ↵Yaroslav Halchenko
original HEAD
2015-02-20Apparently, git 1.7.9 supports git-files too, lets assume it's starting at 1.7.0Sebastian Thiel
2015-02-20It seems something within our environment changed ...Sebastian Thiel
... as we are now running out of file handles. Previously, it worked ... and gitpython didn't change
2015-02-19Adjust minimum git version with git-file support.Sebastian Thiel
As I am pretty sure to have tested it with 1.7.0, I assume they added the git file feature somewhere between .0 .10. Fixes #252
2015-02-19Assure to not iterate packed-refs file, ever.Sebastian Thiel
Related to #252
2015-02-19Fix flake8 issue.Sebastian Thiel
It's new in the latest version of flake - thanks travis for letting me know.
2015-02-19Use uuid instead of tempfile.mkdtmp, which created an actual directory.Sebastian Thiel
That, over time, could have caused slow downs due to file-system hassle. Fixes #258
2015-02-09Added previously missing parameter documentation for Repo.__init__ .Sebastian Thiel
Related to #255
2015-02-09Merge branch 'yarikoptic-bf/run_hooks_from_working_dir'Sebastian Thiel
2015-02-09Merge branch 'bf/run_hooks_from_working_dir' of ↵Sebastian Thiel
https://github.com/yarikoptic/GitPython into yarikoptic-bf/run_hooks_from_working_dir
2015-02-09Merge branch 'yarikoptic-bf/tests-on-debians'Sebastian Thiel
2015-02-09Minor Flake8 fixes.Sebastian Thiel
Latest version of it is required to show the issues travis shows as well
2015-02-08BF: run commit hook with repo.working_dir as cwdYaroslav Halchenko
Otherwise commit hook might rightfully fail, as happens if repository is e.g. git-annex repository. See e.g. now failing https://travis-ci.org/datalad/datalad/builds/49802394\#L1590 which seems to pass tests nicely with patch as this
2015-02-07BF: skip unicode filename test in env not supporting unicode encodingsYaroslav Halchenko
2015-02-07ENH: respect GIT_PYTHON_TEST_GIT_REPO_BASE env var in testsYaroslav Halchenko
2015-02-05Updated copyright information.Sebastian Thiel
Fixes #246
2015-02-02An attempt to better steer questions and answers.Sebastian Thiel
Currently, people put it onto the mailing list and on stack overflow [ci skip]
2015-01-30This should fix the test failure on travisSebastian Thiel
2015-01-30Added test to verify we can handle fetch prunes.Sebastian Thiel
They are just skipped. Fixes #249
2015-01-30Remote.update() didn't pass kwargs along to git command.Sebastian Thiel
Fixes #250
2015-01-22Removed Git.sshkey() as it couldn't be distributed properly.0.3.6Sebastian Thiel
However, I kept information on how to achieve the same thing with `custom_environment()` in the test. Related to #234
2015-01-22Bumped version to 0.3.6Sebastian Thiel
Unfortunately, installation of a executable script has proven to be so difficult thanks setuptools gloriousness, which will force me to remove that feature
2015-01-22Improved performance of rev-parse test.Sebastian Thiel
Hoping to make this significantly faster on travis. Related to #245
2015-01-22Minor improvements to submodule test for windows portabilitySebastian Thiel
However, most tests fail for reasons unknown - SHA cannot be found. For now, I will wait until someone complains, as I doubt too many people will use it on windows. Related to #244
2015-01-22Added test for `sshkey` context manager.Sebastian Thiel
It verifies that the script is actually called. Interestingly, the shell script version works within an msysgit environment on windows. Fixes #234
2015-01-22Merge branch 'master' into teeberg-masterSebastian Thiel
Need latest master to proceed with test Conflicts: doc/source/tutorial.rst
2015-01-22Intermediate commit on my way to get this finalized.Sebastian Thiel
Renamed context manager 'with_environment' to 'custom_environment'. On my way to implement sshkey test.
2015-01-22This should finally fix travis ciSebastian Thiel
2015-01-22Fetch now deals with custom refspecs much better.Sebastian Thiel
Even though the test-csae only verifies this spec: +refs/pull/*:refs/heads/pull/* I could locally verify that it indeed handles other ones just as well: +refs/pull/*:refs/pull/* Fixes #243
2015-01-22Overhauled all tutorials, and placed them in a unit-test.Sebastian Thiel
That way they are protected from regression. Fixes #239
2015-01-21Add a few testsJonas Trappenberg
2015-01-21Add SSH wrapper to MANIFEST.inJonas Trappenberg
2015-01-21Rename 'environment' and 'set_environment'Jonas Trappenberg
2015-01-21Add method to query environmentJonas Trappenberg
2015-01-21Add 'sshkey' context managerJonas Trappenberg
2015-01-21Fix some typosJonas Trappenberg
2015-01-21Fixed regression in test-suite for IndexFileSebastian Thiel
Previously, it checked for AssertionErrors, now we have to implement need-unbare-repo check ourselves.
2015-01-21Added advance usage examples to tutorial and made minor fixes.Sebastian Thiel
GIT_PYTHON_TRACE would actually fail (now) if we debugged archive operations. Related to #239
2015-01-21Initial set of documentation improvements, and a fix to the submodule tests.Sebastian Thiel
Now travisci tests should work once again. Related to #239
2015-01-21Merge branch 'issue-232-reproduction' - keep fetch/pull simplificationsSebastian Thiel
Make sure we keep the improvements made to fetch and pull Relates to #232