summaryrefslogtreecommitdiff
path: root/git/cmd.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | flake8 and mypy fixesyobmod2021-05-131-20/+20
| |
* | Add types to cmd.py Gityobmod2021-05-131-65/+160
| |
* | Add types to cmd.py CatFileContentStreamyobmod2021-05-121-10/+10
| |
* | Add types to cmd.py AutoInterruptyobmod2021-05-121-17/+20
| |
* | Add types to cmd.py Gityobmod2021-05-121-17/+23
| |
* | Add typing section to cmd.pyyobmod2021-05-121-0/+12
| |
* | add initial types to remote.pyyobmod2021-05-031-25/+31
| |
* | start add types to util.pyyobmod2021-02-281-5/+8
| |
* | move cmd.py types to another branch, mark typing import as unusedyobmod2021-02-281-7/+4
| |
* | drop py3.4 supportyobmod2021-02-281-4/+7
|/
* fix universal_newlines TypeErrorx-santiaga-x2021-01-281-1/+3
| | | | Fixes #1116
* Make git.cmd.Git.CatFileContentStream iterableHex0522021-01-171-0/+3
| | | Add __next__ method to git.cmd.Git.CatFileContentStream, so it can actually be used as an iterable
* fix universal_newlines TypeErrorJim Wisniewski2020-12-301-3/+4
|
* Fix exception causes in cmd.pyRam Rachum2020-06-121-4/+4
|
* Remove unnecessary check for PermissionError for Python < 3.3Harmon2020-02-081-5/+0
|
* Remove and replace compat.string_typesHarmon2020-02-081-2/+1
|
* Remove checks for Python 2 and/or 3Harmon2020-02-081-7/+0
|
* Remove and replace compat.unicodeHarmon2020-02-081-4/+2
|
* Merge branch 'fix/deepsource-issues' of https://github.com/imkaka/GitPython ↵Sebastian Thiel2019-10-291-0/+1
|\ | | | | | | into imkaka-fix/deepsource-issues
| * Merge branch 'master' into fix/deepsource-issuesAnil Khatri2019-10-231-3/+9
| |\
| * | silenced iter returns a non-iteratorAnil Khatri2019-10-231-0/+1
| | |
* | | Fix #920Victor Luzgin2019-10-281-1/+1
| |/ |/|
* | Added exception handling for WinError6Ben Thayer2019-10-231-2/+5
| |
* | Initial stab at fixing diffs involving submodule changesJJ Graham2019-10-211-1/+1
| |
* | Update cmd.pyAbhishek Kumar Singh2019-10-171-2/+1
| |
* | Fixed#731Abhishek Kumar Singh2019-10-171-0/+4
|/ | | Added check for local file url starting with `$HOME` / `~` to expand them using `os.path.expanduser`.
* removed Unnecessary pass statementPratik Anurag2019-10-151-1/+0
|
* Fix Git.transform_kwargFrantišek Nečas2019-07-291-1/+1
| | | | | | | Kwargs were not transformed correctly if a value was set to 0 due to wrong if condition. Signed-off-by: František Nečas <fifinecas@seznam.cz>
* Added a Dockerfile that creates a clean Ubuntu Xenial test environmentJames E. King III2019-05-051-2/+5
|
* Update cmd.py, fix PermissionError issue using best practicescclauss2019-05-051-13/+9
| | | | This closes #830
* Fix setup.py and use of requirements files.James E. King III2019-05-051-1/+2
|
* Fix docstring in cmd moduleDerek2018-12-221-1/+1
|
* Exclude kwarg when NoneAndrew Rabert2018-08-051-2/+2
|
* Fix TypeError in git.execute(..., output_stream=file)Dmitry Nikulin2018-08-051-1/+1
| | | | | This fixes #619 - raise GitCommandError(not TypeError) when output_stream is set in git.execute
* 648 max_chunk_size can be now set to control output_stream behaviorPiotr Babij2018-05-181-7/+12
|
* Unnecessary generator - rewrite as a dict comprehensionHugo2018-03-181-3/+3
|
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-181-4/+4
|
* Replace function call with set literalHugo2018-03-181-4/+4
|
* Drop support for EOL Python 2.6Hugo2018-03-181-3/+2
|
* Fix encoding issue with stderr_value and kill_after_timeoutPaul Belanger2017-10-051-2/+2
| | | | | | We don't properly encode our error message under python3. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
* Merge branch 'master' into masterSebastian Thiel2017-09-281-8/+134
|\
| * Merge branch 'master' into adding_setup_for_git_executableSebastian Thiel2017-09-281-2/+2
| |\
| * | Minor bug fixesOdegard, Ken2017-07-261-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 cleanupOdegard, Ken2017-07-251-27/+50
| | | | | | | | | | | | | | | | | | | | | 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_REFRESHOdegard, Ken2017-07-131-27/+36
| | | | | | | | | | | | Renamed and cleaned up variable names.
| * | Removed remaining references to git.setup functionOdegard, Ken2017-07-131-5/+5
| | | | | | | | | | | | | | | Removed few remaining references to git.setup function (as it was renamed to refresh).
| * | Expanded ability of importOdegard, Ken2017-07-131-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 warningOdegard, Ken2017-07-091-4/+13
| | | | | | | | | | | | | | | Added the ability to silence the first refresh warning upon import by setting an environment variable.
| * | Moved setup function into top level __init__Odegard, Ken2017-07-091-34/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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 functionsOdegard, Ken2017-07-091-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.