summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | fix(iter-commit): ambiguous argument errorSebastian Thiel2015-03-022-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Improved documentation on IndexFile.add(...)Sebastian Thiel2015-02-231-0/+4
| | | | | | | | | | Related to #224 [ci skip]
* | Fixed trailing white space!Sebastian Thiel2015-02-211-1/+1
| | | | | | | | | | Think about how expensive this single invisible character was, with all the time and energy spent on it !
* | `stale_refs()` may now also handle other kinds of references, like tags.Sebastian Thiel2015-02-211-3/+15
| | | | | | | | Fixes #260
* | Added 'insert_kwargs_after' flag for consumption by _call_process.Sebastian Thiel2015-02-214-3/+26
| | | | | | | | | | | | While at it, all other invocations of .git in remote.py were reviewed Fixes #262
* | Merge pull request #261 from yarikoptic/bf/no-master-checkoutSebastian Thiel2015-02-211-1/+2
|\ \ | | | | | | BF: do not checkout master -- that ruins testing of PRs
| * | BF: do not checkout master -- that ruins testing of PRs. "reset" master to ↵Yaroslav Halchenko2015-02-201-1/+2
|/ / | | | | | | original HEAD
* | Apparently, git 1.7.9 supports git-files too, lets assume it's starting at 1.7.0Sebastian Thiel2015-02-201-2/+1
| |
* | It seems something within our environment changed ...Sebastian Thiel2015-02-201-1/+1
| | | | | | | | | | ... as we are now running out of file handles. Previously, it worked ... and gitpython didn't change
* | Adjust minimum git version with git-file support.Sebastian Thiel2015-02-191-1/+2
| | | | | | | | | | | | | | 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
* | Assure to not iterate packed-refs file, ever.Sebastian Thiel2015-02-191-0/+3
| | | | | | | | Related to #252
* | Fix flake8 issue.Sebastian Thiel2015-02-191-4/+6
| | | | | | | | It's new in the latest version of flake - thanks travis for letting me know.
* | Use uuid instead of tempfile.mkdtmp, which created an actual directory.Sebastian Thiel2015-02-191-2/+2
|/ | | | | | That, over time, could have caused slow downs due to file-system hassle. Fixes #258
* Added previously missing parameter documentation for Repo.__init__ .Sebastian Thiel2015-02-091-0/+5
| | | | Related to #255
* Merge branch 'yarikoptic-bf/run_hooks_from_working_dir'Sebastian Thiel2015-02-091-0/+1
|\
| * Merge branch 'bf/run_hooks_from_working_dir' of ↵Sebastian Thiel2015-02-091-0/+1
| |\ |/ / | | | | https://github.com/yarikoptic/GitPython into yarikoptic-bf/run_hooks_from_working_dir
| * BF: run commit hook with repo.working_dir as cwdYaroslav Halchenko2015-02-081-0/+1
| | | | | | | | | | | | | | | | 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
* | Merge branch 'yarikoptic-bf/tests-on-debians'Sebastian Thiel2015-02-094-8/+21
|\ \ | |/ |/|
| * Minor Flake8 fixes.Sebastian Thiel2015-02-094-9/+13
| | | | | | | | Latest version of it is required to show the issues travis shows as well
| * BF: skip unicode filename test in env not supporting unicode encodingsYaroslav Halchenko2015-02-071-0/+9
| |
| * ENH: respect GIT_PYTHON_TEST_GIT_REPO_BASE env var in testsYaroslav Halchenko2015-02-071-1/+1
|/
* Updated copyright information.Sebastian Thiel2015-02-051-1/+1
| | | | Fixes #246
* An attempt to better steer questions and answers.Sebastian Thiel2015-02-021-7/+12
| | | | | | Currently, people put it onto the mailing list and on stack overflow [ci skip]
* This should fix the test failure on travisSebastian Thiel2015-01-301-0/+5
|
* Added test to verify we can handle fetch prunes.Sebastian Thiel2015-01-301-0/+13
| | | | | | They are just skipped. Fixes #249
* Remote.update() didn't pass kwargs along to git command.Sebastian Thiel2015-01-301-1/+1
| | | | Fixes #250
* Removed Git.sshkey() as it couldn't be distributed properly.0.3.6Sebastian Thiel2015-01-228-43/+13
| | | | | | | However, I kept information on how to achieve the same thing with `custom_environment()` in the test. Related to #234
* Bumped version to 0.3.6Sebastian Thiel2015-01-224-9/+4
| | | | | | Unfortunately, installation of a executable script has proven to be so difficult thanks setuptools gloriousness, which will force me to remove that feature
* Improved performance of rev-parse test.Sebastian Thiel2015-01-221-2/+9
| | | | | | Hoping to make this significantly faster on travis. Related to #245
* Minor improvements to submodule test for windows portabilitySebastian Thiel2015-01-221-4/+4
| | | | | | | | | 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
* Added test for `sshkey` context manager.Sebastian Thiel2015-01-223-7/+21
| | | | | | | | It verifies that the script is actually called. Interestingly, the shell script version works within an msysgit environment on windows. Fixes #234
* Merge branch 'master' into teeberg-masterSebastian Thiel2015-01-2220-342/+603
|\ | | | | | | | | | | Need latest master to proceed with test Conflicts: doc/source/tutorial.rst
| * This should finally fix travis ciSebastian Thiel2015-01-221-1/+1
| |
| * Fetch now deals with custom refspecs much better.Sebastian Thiel2015-01-225-6/+40
| | | | | | | | | | | | | | | | | | 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
| * Overhauled all tutorials, and placed them in a unit-test.Sebastian Thiel2015-01-2216-332/+550
| | | | | | | | | | | | That way they are protected from regression. Fixes #239
* | Intermediate commit on my way to get this finalized.Sebastian Thiel2015-01-225-33/+45
| | | | | | | | | | Renamed context manager 'with_environment' to 'custom_environment'. On my way to implement sshkey test.
* | Add a few testsJonas Trappenberg2015-01-211-0/+20
| |
* | Add SSH wrapper to MANIFEST.inJonas Trappenberg2015-01-211-1/+1
| |
* | Rename 'environment' and 'set_environment'Jonas Trappenberg2015-01-211-10/+10
| |
* | Add method to query environmentJonas Trappenberg2015-01-211-0/+3
| |
* | Add 'sshkey' context managerJonas Trappenberg2015-01-213-1/+90
| |
* | Fix some typosJonas Trappenberg2015-01-213-5/+5
|/
* Fixed regression in test-suite for IndexFileSebastian Thiel2015-01-216-25/+44
| | | | | Previously, it checked for AssertionErrors, now we have to implement need-unbare-repo check ourselves.
* Added advance usage examples to tutorial and made minor fixes.Sebastian Thiel2015-01-2115-52/+270
| | | | | | GIT_PYTHON_TRACE would actually fail (now) if we debugged archive operations. Related to #239
* Initial set of documentation improvements, and a fix to the submodule tests.Sebastian Thiel2015-01-217-41/+96
| | | | | | Now travisci tests should work once again. Related to #239
* Merge branch 'issue-232-reproduction' - keep fetch/pull simplificationsSebastian Thiel2015-01-212-2/+7
|\ | | | | | | | | | | Make sure we keep the improvements made to fetch and pull Relates to #232
| * removed debug codeissue-232-reproductionSebastian Thiel2015-01-211-9/+1
| |
| * Remote.fetch|pull() will not use poll/threads anymore as only stderr is read.Sebastian Thiel2015-01-202-4/+10
| | | | | | | | | | | | | | This simplification should improve performance and remove issues like those in #232. NOTE: Debug code is still contained here
| * Added debug code to keep lines fed into progress handler and the contents of ↵Sebastian Thiel2015-01-161-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FETCH_HEAD. This data will be written into the git-repository itself, prefixed with the number of the operation. Thus, a test-run with exactly one fetch operation would look like this afterwards: ls -l .git total 96 -----> -rw-r--r-- 1 byron staff 141B Jan 16 11:54 000_debug_git-python_FETCH_HEAD <----- -----> -rw-r--r-- 1 byron staff 180B Jan 16 11:54 000_debug_git-python_stderr <----- -rw-r--r-- 1 byron staff 487B Jan 16 11:54 FETCH_HEAD -rw-r--r-- 1 byron staff 22B Jan 16 11:54 HEAD -rw-r--r-- 1 byron staff 41B Jan 16 11:54 ORIG_HEAD drwxr-xr-x 2 byron staff 68B Jan 16 11:54 branches/ -rw-r--r-- 1 byron staff 560B Jan 16 11:54 config -rw-r--r-- 1 byron staff 73B Jan 16 11:54 description drwxr-xr-x 11 byron staff 374B Jan 16 11:54 hooks/ -rw-r--r-- 1 byron staff 13K Jan 16 11:54 index drwxr-xr-x 3 byron staff 102B Jan 16 11:54 info/ drwxr-xr-x 4 byron staff 136B Jan 16 11:54 logs/ drwxr-xr-x 12 byron staff 408B Jan 16 11:54 objects/ -rw-r--r-- 1 byron staff 1.2K Jan 16 11:54 packed-refs drwxr-xr-x 5 byron staff 170B Jan 16 11:54 refs/ [ci skip]
* | Assured that branch changes are properly handled.Sebastian Thiel2015-01-215-30/+77
| | | | | | | | | | | | | | | | | | Previously we could try to remove the branch we are on. Of course, we have a test-case elaborate enough to verify we don't destroy changes in submodules accidentally. Therefore I am confident that this implementation is correct. Fixes #49