Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove and replace compat.text_type | Harmon | 2020-02-08 | 1 | -3/+2 |
| | |||||
* | Remove checks for Python 2 and/or 3 | Harmon | 2020-02-08 | 1 | -6/+2 |
| | |||||
* | Remove and replace compat.xrange | Harmon | 2020-02-08 | 1 | -2/+1 |
| | |||||
* | Remove compat.range | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Remove str import from builtins | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Avoids env var warning when path contains $/%; fix #832 | Rob Kimball | 2019-12-06 | 1 | -1/+2 |
| | |||||
* | removed Unnecessary “else” after “return” | Pratik Anurag | 2019-10-15 | 1 | -6/+3 |
| | |||||
* | git: repo: base: update clone_from env argument description | pawel | 2019-09-30 | 1 | -0/+5 |
| | |||||
* | Returning commit object instead of hash value | Arthur Milchior | 2019-08-14 | 1 | -2/+2 |
| | |||||
* | Snack case as requested in #903 | Arthur Milchior | 2019-08-14 | 1 | -1/+1 |
| | |||||
* | Method stating which commit is being played during an halted rebase | Arthur Milchior | 2019-08-14 | 1 | -0/+11 |
| | | | | | | This will be useful to me at least. This way, I know that I can tell my script to omit some specific commits. If you accept to merge it, I may also do similar method for merges and cherry pick. | ||||
* | Fix performance regression, see #906 | Sebastian Thiel | 2019-08-14 | 1 | -40/+16 |
| | | | | | | | | | Revert "use git rev-parse to look for config file" This reverts commit 0b6b90f9f1e5310a6f39b75e17a04c1133269e8f. Fix #906 Reopen #719 | ||||
* | Fix typo in documentation | Loïc Antoine Gombeaud | 2019-08-11 | 1 | -1/+1 |
| | | | `mutli_options` -> `multi_options` | ||||
* | Drop python 2 support, again (revert previous revert) | Sebastian Thiel | 2019-08-11 | 1 | -0/+1 |
| | | | | This reverts commit 913d806f02cf50250d230f88b897350581f80f6b. | ||||
* | use git rev-parse to look for config file | Benjamin Dauvergne | 2019-08-11 | 1 | -16/+40 |
| | |||||
* | Revert "Drop python 2.7 support and help with encodings" | Sebastian Thiel | 2019-07-29 | 1 | -1/+0 |
| | | | | This reverts commit dac619e4917b0ad43d836a534633d68a871aecca. | ||||
* | normalize path after joining submodule path and the relative path to the git ↵ | Joe Savage | 2019-07-20 | 1 | -1/+1 |
| | | | | dir, to eliminate path length errors on Windows | ||||
* | Drop python 2.7 support and help with encodings | Sebastian Thiel | 2019-07-20 | 1 | -0/+1 |
| | | | | Fixes #312 | ||||
* | Revert "This time, use test-requirements." | Sebastian Thiel | 2019-07-20 | 1 | -1/+0 |
| | | | | | | This reverts commit 74a0507f4eb468b842d1f644f0e43196cda290a1. https://travis-ci.org/gitpython-developers/GitPython/jobs/561334516#L634 | ||||
* | This time, use test-requirements. | Sebastian Thiel | 2019-07-20 | 1 | -0/+1 |
| | |||||
* | Revert "Merge branch 'PR-non-ascii-filenames' of ↵ | Sebastian Thiel | 2019-07-20 | 1 | -1/+0 |
| | | | | | | | | | | https://github.com/xarx00/GitPython into xarx00-PR-non-ascii-filenames" This reverts commit 3b13c115994461fb6bafe5dd06490aae020568c1, reversing changes made to da8aeec539da461b2961ca72049df84bf30473e1. It doesn't pass, unfortunately. Is it a travis issue? https://travis-ci.org/gitpython-developers/GitPython/jobs/561333763#L340 | ||||
* | Merge branch 'PR-non-ascii-filenames' of https://github.com/xarx00/GitPython ↵ | Sebastian Thiel | 2019-07-20 | 1 | -0/+1 |
|\ | | | | | | | into xarx00-PR-non-ascii-filenames | ||||
| * | builtins module is part of the future package | xarx00 | 2019-04-06 | 1 | -1/+1 |
| | | |||||
| * | Fix for: No module named builtins (CI tests error) | xarx00 | 2019-04-06 | 1 | -1/+1 |
| | | |||||
| * | added support for non-ascii directories and file names | xarx00 | 2019-04-05 | 1 | -0/+1 |
| | | |||||
* | | Add support to pass clone options that can be repeated multiple times | Steven Whitman | 2019-07-06 | 1 | -6/+14 |
| | | |||||
* | | Fix typo in docstring | Aurelio Jargas | 2019-06-17 | 1 | -2/+2 |
|/ | |||||
* | Added usage example to Repo __init__.py call for Windows users | Alex | 2019-03-15 | 1 | -0/+1 |
| | |||||
* | read workdir from git.config as referenced in man 1 git-config | Björn Lässig | 2018-12-22 | 1 | -1/+15 |
| | | | | | | | | Edited-by: Florian Scherf <f.scherf@pengutronix.de> added the remaining feedback in https://github.com/gitpython-developers/GitPython/pull/801/files | ||||
* | The proper way is return, not raise StopIteration | Michael Käufl | 2018-10-21 | 1 | -3/+12 |
| | | | | | | | See PEP 479[1] which is part of Python 3.7[2]. [1]: https://www.python.org/dev/peps/pep-0479/ [2]: https://docs.python.org/3/whatsnew/3.7.html#changes-in-python-behavior | ||||
* | Respect _common_dir when finding repository config file | Luc Ritchie | 2018-10-13 | 1 | -1/+1 |
| | | | | | Among other things, remotes are now correctly identified when in a separate worktree. | ||||
* | Allow pathlib.Path in Repo.__init__ | oldPadavan | 2018-07-15 | 1 | -0/+7 |
| | |||||
* | Fix small typo | Riley Martine | 2018-07-15 | 1 | -2/+1 |
| | | | Fix small typo and slightly reword docstring. | ||||
* | Rewrite unnecessary dict/list/tuple calls as literals | Hugo | 2018-03-18 | 1 | -8/+8 |
| | |||||
* | Fix doc typos | samuela | 2018-03-04 | 1 | -12/+12 |
| | |||||
* | Remove redundant Python 2.4 code | Hugo | 2017-12-11 | 1 | -8/+2 |
| | |||||
* | RF: primarily flake8 lints + minor RF to reduce duplication in PATHEXT | Yaroslav Halchenko | 2017-11-27 | 1 | -1/+1 |
| | | | | | I did keep some "bare" except with catch all Exception: , while tried to disable flake8 complaints where clearly all exceptions are to be catched | ||||
* | Merge pull request #692 from Dreamsorcerer/patch-1 | Sebastian Thiel | 2017-11-19 | 1 | -2/+2 |
|\ | | | | | Fix broken progress in clone_from() | ||||
| * | Update base.py | Sam Bull | 2017-10-30 | 1 | -1/+1 |
| | | |||||
| * | Update base.py | Sam Bull | 2017-10-30 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #686 from jeblair/issue-605 | Sebastian Thiel | 2017-11-02 | 1 | -2/+10 |
|\ \ | | | | | | | Only gc.collect() under windows | ||||
| * | | Only gc.collect() under windows | James E. Blair | 2017-10-09 | 1 | -2/+10 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | Under Windows, tempfile objects are holding references to open files until the garbage collector closes them and frees them. Explicit calls to gc.collect() were added to the finalizer for the Repo class to force them to be closed synchronously. However, this is expensive, especially in large, long-running programs. As a temporary measure to alleviate the performance regression on other platforms, only perform these calls when running under Windows. Fixes #553 | ||||
* | | Converting path in clone and clone_from to str before any other operation in ↵ | Mikuláš Poul | 2017-10-07 | 1 | -0/+4 |
|/ | | | | case eg pathlib.Path is passed | ||||
* | Keeping env values passed to `clone_from` | Piotr Babij | 2017-09-30 | 1 | -1/+5 |
| | |||||
* | Merge pull request #654 from vathpela/worktrees | Sebastian Thiel | 2017-09-28 | 1 | -4/+18 |
|\ | | | | | worktrees: make non-packed refs also work correctly. | ||||
| * | worktrees: make non-packed refs also work correctly. | Peter Jones | 2017-08-22 | 1 | -4/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out aec58a9 did the right thing for /packed/ refs, but didn't work correctly on /unpacked/ refs. So this patch gives unpacked refs the same treatment. Without the fix here, the test added will cause this traceback: ====================================================================== ERROR: Check that we find .git as a worktree file and find the worktree ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pjones/devel/github.com/GitPython/git/test/lib/helper.py", line 92, in wrapper return func(self, path) File "/home/pjones/devel/github.com/GitPython/git/test/test_repo.py", line 938, in test_git_work_tree_dotgit self.assertIsInstance(repo.heads['aaaaaaaa'], Head) File "/home/pjones/devel/github.com/GitPython/git/util.py", line 893, in __getitem__ raise IndexError("No item found with id %r" % (self._prefix + index)) IndexError: No item found with id 'aaaaaaaa' Woops. Things I've learned: - test_remote doesn't work currently if you start on a branch. I think it never did? - Because of 346424da, all *sorts* of stuff in the test suite doesn't work if you name your development branch "packed-refs" (This seems like a bug...) Signed-off-by: Peter Jones <pjones@redhat.com> | ||||
* | | Merge branch 'master' of https://github.com/Plazmaz/GitPython into ↵ | Sebastian Thiel | 2017-09-28 | 1 | -5/+17 |
|\ \ | | | | | | | | | | Plazmaz-master | ||||
| * | | Fixed missing parameter and changed name | Dylan Katz | 2017-08-24 | 1 | -14/+16 |
| | | | |||||
| * | | Fix leaking environment variables | Dylan Katz | 2017-08-21 | 1 | -6/+18 |
| |/ | |||||
* | | util: move expand_path from repo/base and use it in Git class init | Alexis Horgix Chotard | 2017-08-25 | 1 | -8/+4 |
|/ |