summaryrefslogtreecommitdiff
path: root/git/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Move TraverseNT to global, cos mypy complained on testingYobmod2021-07-091-16/+17
|
* Rmv typeguard from list_traverse(), was wrongYobmod2021-07-091-3/+5
|
* Add types to submodule.update()Yobmod2021-07-061-2/+4
|
* Add missed types to Commit, uncomment to_native_path_linux()Yobmod2021-07-011-6/+6
|
* Type Traversable/list_traverse() better, make IterablleObj a protocolYobmod2021-06-301-4/+5
|
* Type Tree.traverse() betterYobmod2021-06-301-1/+1
|
* Type Traversable.traverse() better, start types of submoduleYobmod2021-06-301-18/+21
|
* forward ref GitconfigparserYobmod2021-06-241-1/+1
|
* Add T_Tre_cache TypeVarYobmod2021-06-241-3/+3
|
* Add typedDictYobmod2021-06-241-12/+13
|
* update some TBDs to configparserYobmod2021-06-241-13/+22
|
* update docstringYobmod2021-06-241-0/+2
|
* Make Iterable deprecation warning on subclassingYobmod2021-06-241-4/+6
|
* Rename Iterable due to typing.Iterable. Add deprecation warningYobmod2021-06-241-5/+39
|
* Make IterableList generic and update throughoutYobmod2021-06-241-6/+16
|
* Update typing-extensions version in requirements.txtYobmod2021-06-231-4/+8
|
* fixed case where progress was no longer shown if a single error occuredmxrch2021-05-211-1/+1
|
* add types to index.fun.pyYobmod2021-05-171-0/+1
|
* flake8 and mypy fixesYobmod2021-05-161-1/+4
|
* Merge pull request #1240 from Yobmod/addtypesSebastian Thiel2021-05-141-7/+4
|\ | | | | revert util.expand_path() due to regression
| * revert util.expand_path() due to regressionyobmod2021-05-131-7/+4
| |
* | remove commentsSebastian Thiel2021-05-131-2/+1
|/
* flake8 and mypy fixesyobmod2021-05-131-10/+0
|
* Add types to cmd.py Gityobmod2021-05-131-6/+19
|
* Add types to cmd.py Gityobmod2021-05-121-3/+29
|
* flake8 fixesyobmod2021-05-081-3/+4
|
* add initial types to remote.pyyobmod2021-05-031-7/+40
|
* add types to git.compat and git.diffyobmod2021-03-021-4/+5
|
* add types to git.util and git.__init__yobmod2021-03-011-53/+58
|
* start add types to util.pyyobmod2021-02-281-83/+109
|
* Fix default actor name handlingAthos Ribeiro2020-10-231-1/+1
| | | | | | | | In c96476b, the new default_name nested function does not contain a retun statement. This leads to an issue when the environment variables are not present, where the actor name would not be set. Signed-off-by: Athos Ribeiro <athos@redhat.com>
* Get system user id in a lazy mannerAthos Ribeiro2020-10-221-4/+12
| | | | | | | | | | | | | | | | Calling getpass.getuser may lead to breakage in environments where there is no entries in the /etc/passwd file for the current user. Setting the environment variables for the git user configurations should prevents GitPython from using values from /etc/passwd. However, doing so will not prevent reading /etc/passwd and looking for an entry with the current user UID. This patch changes the behavior described above so GitPython will perform a lazy evaluation of /etc/passwd, only doing so when the environment variables for the git user configuration are not available. Signed-off-by: Athos Ribeiro <athos@redhat.com>
* Fixed all warnings in documentation and updated Makefile to treat warnings ↵Kian Cross2020-07-131-2/+3
| | | | as errors.
* Fix exception causes in 7 modulesRam Rachum2020-06-131-7/+7
|
* Do not error in race condition of directory existingAlanCoding2020-03-211-1/+1
|
* Remove now unnecessary explicit Unicode string literal prefixesHarmon2020-02-251-1/+1
|
* Remove unnecessary check for logging.NullHandler for Python 2.6Harmon2020-02-081-5/+0
|
* Remove no longer used compat importsHarmon2020-02-081-1/+0
|
* Remove and replace compat.MAXSIZEHarmon2020-02-081-5/+3
|
* Remove checks for Python 2 and/or 3Harmon2020-02-081-5/+1
|
* fix Loop variable used outside the loopAnil Khatri2019-10-231-2/+2
|
* removed Unnecessary “else” after “return”Pratik Anurag2019-10-151-3/+2
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* renamed unused variablesPratik Anurag2019-10-151-1/+1
|
* Revert "Remove control character stripping."Sebastian Thiel2019-09-301-2/+11
| | | | This reverts commit b207f0e8910a478ad5aba17d19b2b00bf2cd9684.
* Try to fix tests; get more debug outputSebastian Thiel2019-09-301-1/+0
|
* Update util.pyUri Baghin2019-09-301-1/+1
|
* Update util.pyUri Baghin2019-09-301-1/+1
|
* Remove control character stripping.Uri Baghin2019-09-301-11/+3
|
* Take advantage of universal newlines.Uri Baghin2019-09-281-90/+83
|