Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #700 from yarikoptic/bf-includes | Sebastian Thiel | 2017-12-11 | 5 | -4/+44 |
|\ | | | | | BF: process included files before the rest | ||||
| * | Merge branch 'bf-includes' of https://github.com/yarikoptic/GitPython into ↵ | Sebastian Thiel | 2017-12-11 | 5 | -4/+44 |
| |\ | | | | | | | | | | yarikoptic-bf-includes | ||||
| | * | BF: wrap map into list, since iterator is not well digested by GitConfigParser | Yaroslav Halchenko | 2017-11-27 | 1 | -1/+1 |
| | | | |||||
| | * | BF: process included files before the rest | Yaroslav Halchenko | 2017-11-27 | 5 | -4/+44 |
| | | | |||||
* | | | Remove redundant Python 2.4 code | Hugo | 2017-12-11 | 1 | -8/+2 |
|/ / | |||||
* | | BF(WIN): where could report multiple hits, so choose first | Yaroslav Halchenko | 2017-11-28 | 1 | -1/+1 |
| | | |||||
* | | RF: use HIDE_WINDOWS_KNOWN_ERRORS instead of is_win to skip hooks tests | Yaroslav Halchenko | 2017-11-28 | 1 | -1/+1 |
| | | |||||
* | | BF(WIN): use where instead of which while looking for git | Yaroslav Halchenko | 2017-11-28 | 1 | -1/+4 |
| | | |||||
* | | RF(TST): skip all tests dealing with hooks on windows | Yaroslav Halchenko | 2017-11-28 | 1 | -0/+1 |
| | | |||||
* | | RF: no "need" for custom shebang on windows since just does not work | Yaroslav Halchenko | 2017-11-28 | 1 | -3/+1 |
| | | |||||
* | | RF(+BF?): refactor hooks creation in a test, and may be make it compat with ↵ | Yaroslav Halchenko | 2017-11-28 | 1 | -32/+39 |
| | | | | | | | | windows | ||||
* | | RF: last of flake8 fails - avoid using temp variable in a test | Yaroslav Halchenko | 2017-11-28 | 1 | -2/+1 |
| | | |||||
* | | BF: crazy tests ppl pass an object for status... uff -- catch TypeError too | Yaroslav Halchenko | 2017-11-27 | 1 | -1/+1 |
| | | |||||
* | | BF(PY26): {} -> {0}, i.e. explicit index for .format() | Yaroslav Halchenko | 2017-11-27 | 1 | -2/+2 |
| | | |||||
* | | RF: primarily flake8 lints + minor RF to reduce duplication in PATHEXT | Yaroslav Halchenko | 2017-11-27 | 10 | -56/+53 |
|/ | | | | | 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 #697 from cblegare/master | Sebastian Thiel | 2017-11-19 | 2 | -2/+12 |
|\ | | | | | Remove trailing slash on drive path | ||||
| * | Remove trailing slash on drive path | Charles Bouchard-Légaré | 2017-11-16 | 2 | -2/+12 |
| | | |||||
* | | Merge pull request #695 from rgerkin/issue694 | Sebastian Thiel | 2017-11-19 | 1 | -4/+12 |
|\ \ | | | | | | | Fixes issue #694 | ||||
| * | | Further update for machines without ssh installed or on the path | Richard C Gerkin | 2017-11-05 | 1 | -1/+1 |
| | | | |||||
| * | | Update remote.py to fix issue #694 | Richard C Gerkin | 2017-11-05 | 1 | -4/+12 |
| |/ | |||||
* | | Merge pull request #693 from satahippy/master | Sebastian Thiel | 2017-11-19 | 3 | -32/+108 |
|\ \ | | | | | | | commit-msg hook support | ||||
| * | | IndexFile.commit() now runs pre-commit and post-commit and commit-msg hooks. | satahippy | 2017-10-30 | 3 | -32/+108 |
| | | | |||||
* | | | 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 remote.py | Sam Bull | 2017-10-30 | 1 | -1/+0 |
| | | | |||||
| * | | Update base.py | Sam Bull | 2017-10-30 | 1 | -1/+1 |
| | | | |||||
| * | | Update remote.py | Sam Bull | 2017-10-30 | 1 | -0/+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 | ||||
* | | Merge pull request #685 from mikicz/pathlib-clone | Sebastian Thiel | 2017-11-02 | 2 | -0/+18 |
|\ \ | | | | | | | Converting path in _clone to str before any other operation | ||||
| * | | Converting path in clone and clone_from to str before any other operation in ↵ | Mikuláš Poul | 2017-10-07 | 2 | -0/+18 |
| |/ | | | | | | | case eg pathlib.Path is passed | ||||
* | | recognize the new packed-ref header format | Brenda J. Butler | 2017-10-13 | 1 | -1/+9 |
|/ | | | | | | | as long as line contains "peeled", accept it fixes the PackingType of packed-Refs not understood: # pack-refs with: peeled fully-peeled sorted problem | ||||
* | Fix encoding issue with stderr_value and kill_after_timeout | Paul Belanger | 2017-10-05 | 1 | -2/+2 |
| | | | | | | We don't properly encode our error message under python3. Signed-off-by: Paul Belanger <pabelanger@redhat.com> | ||||
* | Store submodule name | John Kirkham | 2017-10-01 | 1 | -1/+3 |
| | |||||
* | Keeping env values passed to `clone_from` | Piotr Babij | 2017-09-30 | 2 | -1/+14 |
| | |||||
* | Merge branch 'master' into master | Sebastian Thiel | 2017-09-28 | 4 | -18/+195 |
|\ | |||||
| * | Merge branch 'master' into adding_setup_for_git_executable | Sebastian Thiel | 2017-09-28 | 11 | -67/+105 |
| |\ | |||||
| * | | Minor bug fixes | Odegard, Ken | 2017-07-26 | 1 | -5/+15 |
| | | | | | | | | | | | | | | | | | | Added tilde expansion as part of the refresh function. Added python version check such that we properly capture PermissionError in Python >=3 and OSError in Python <3. | ||||
| * | | Minor additional cleanup | Odegard, Ken | 2017-07-25 | 3 | -28/+59 |
| | | | | | | | | | | | | | | | | | | | | | Added additional information in the import warning/error that tells the user how to silence the warning/error. Also added a GIT_OK variable that allows for a quick check whether the refresh has succeeded instead of needing to test an actual git command. | ||||
| * | | Renamed GIT_PYTHON_INITERR to GIT_PYTHON_REFRESH | Odegard, Ken | 2017-07-13 | 1 | -27/+36 |
| | | | | | | | | | | | | Renamed and cleaned up variable names. | ||||
| * | | Removed remaining references to git.setup function | Odegard, Ken | 2017-07-13 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | Removed few remaining references to git.setup function (as it was renamed to refresh). | ||||
| * | | Expanded ability of import | Odegard, Ken | 2017-07-13 | 1 | -5/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | Renamed GIT_PYTHON_NOWARN to GIT_PYTHON_INITERR and added values for quiet import, warning import, and raise import. These respectively mean that no message or error is printed if git is non-existent, a plain warning is printed but the import succeeds, and an ImportError exception is raised. | ||||
| * | | Added ability to silence initial warning | Odegard, Ken | 2017-07-09 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | Added the ability to silence the first refresh warning upon import by setting an environment variable. | ||||
| * | | Renamed refresh to setup and removed alias function & added unittest | Odegard, Ken | 2017-07-09 | 2 | -6/+12 |
| | | | | | | | | | | | | | | | | | | Renamed to simplify and avoid issue with nose tests trying to use `setup` as a setup for testing. Unittest implements basic test for refreshing with a bad git path versus a good git path. | ||||
| * | | Moved setup function into top level __init__ | Odegard, Ken | 2017-07-09 | 3 | -44/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | Discovered that the remote module also relies on the git executable as such it also needs to be “refreshed” anytime the git executable is updated or changed. This was best solved by moving the setup function into the top level __init__ where the setup simply calls git.cmd.Git.refresh and git.remote.FetchInfo.refresh. | ||||
| * | | Preliminary implementation of setup/refresh functions | Odegard, Ken | 2017-07-09 | 1 | -8/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | Added one function (setup) and an alias (refresh simply calls setup). These functions give the developer one more way to configure the git executable path. This also allows the user to interactively adjust the git executable configured during runtime as these functions dynamically update the executable path for the entire git module. | ||||
* | | | Merge branch 'master' into master | Sebastian Thiel | 2017-09-28 | 11 | -67/+105 |
|\ \ \ | | |/ | |/| | |||||
| * | | Merge pull request #649 from OddBloke/hide_re_fetch_result | Sebastian Thiel | 2017-09-28 | 1 | -2/+2 |
| |\ \ | | | | | | | | | FetchInfo.re_fetch_result has no reason to be public | ||||
| | * | | FetchInfo.re_fetch_result has no reason to be public | Daniel Watkins | 2017-07-28 | 1 | -2/+2 |
| | |/ | | | | | | | | | | | | | And when using the API interactively, having it show up as public is confusing. | ||||
| * | | Merge pull request #658 from terminalmage/issue657 | Sebastian Thiel | 2017-09-28 | 1 | -17/+20 |
| |\ \ | | | | | | | | | Fix GitError being raised in initial `import git` |