summaryrefslogtreecommitdiff
path: root/git/objects/submodule
Commit message (Collapse)AuthorAgeFilesLines
* Rmv root.py typesYobmod2021-07-062-26/+12
|
* Rmv runtime_checkable < py3.8 pt2Yobmod2021-07-061-1/+1
|
* Rmv runtime_checkable < py3.8Yobmod2021-07-061-1/+1
|
* Fix for mrepo2Yobmod2021-07-061-6/+6
|
* Fix for mrepoYobmod2021-07-061-4/+5
|
* Add cast(Repo, mrepo) in try blockYobmod2021-07-061-3/+4
|
* Improve types of diff.pyYobmod2021-07-061-1/+1
|
* Add types to submodule.update()Yobmod2021-07-061-23/+35
|
* Add types to submodule.root.pyYobmod2021-07-051-8/+13
|
* Make bytesIO forwardrefYobmod2021-07-052-4/+13
|
* Add types to submodule.util.pyYobmod2021-07-051-6/+8
|
* Fix IndexFile forwardrefYobmod2021-07-051-3/+2
|
* Improve typing of config_levels, add assert_never()Yobmod2021-07-052-13/+23
|
* Merge branch 'main' of https://github.com/Yobmod/gitpythonYobmod2021-07-011-3/+10
|\
| * Merge branch 'main' into Yobmod/mainSebastian Thiel2021-07-011-3/+10
| |\
| | * Added clone multi_options to SubmoduleIgor Lakhtenkov2021-06-301-3/+11
| | |
* | | Add missed types to Commit, uncomment to_native_path_linux()Yobmod2021-07-011-3/+3
|/ /
* | Type Traversable.traverse() better, start types of submoduleYobmod2021-06-302-52/+74
|/
* Add type to submodule to trigger checks to rurunYobmod2021-06-251-1/+6
|
* trigger checks to rurunYobmod2021-06-251-1/+1
|
* update some TBDs to configparserYobmod2021-06-241-1/+1
|
* fix an importYobmod2021-06-241-5/+2
|
* Make IterableList generic and update throughoutYobmod2021-06-241-6/+14
|
* remove duplicationSebastian Thiel2021-06-241-1/+1
|
* Add missing article to error messageMax Fan2021-06-241-1/+1
|
* Fix exsit typoMax Fan2021-06-241-1/+1
|
* Add types to objects _get_intermediate_items()Yobmod2021-05-201-2/+4
|
* Added ability to define git environment in submodule add/update methodsIgor Solovey2020-11-191-4/+16
|
* Fixed all warnings in documentation and updated Makefile to treat warnings ↵Kian Cross2020-07-131-1/+1
| | | | as errors.
* Fix exception causes all over the codebaseRam Rachum2020-06-141-12/+12
|
* allow setting depth when cloning a submoduleLiam Beguin2020-05-021-1/+9
| | | | Signed-off-by: Liam Beguin <liambeguin@gmail.com>
* fix: wrong refs 'HEAD' exceptionDong Shin2020-03-211-3/+4
|
* Replace deprecated Logger.warn with Logger.warningHarmon2020-02-162-2/+2
|
* Remove and replace compat.string_typesHarmon2020-02-081-2/+1
|
* resolved all minor issues arised by last fix patchAnil Khatri2019-10-231-1/+1
|
* fix Loop variable used outside the loopAnil Khatri2019-10-231-1/+1
|
* removed Unnecessary “else” after “return”Pratik Anurag2019-10-151-2/+1
|
* Fix #889: Add DeepSource config and fix some major issuesMohit Solanki2019-09-101-3/+2
|
* Skip on keyerrorSantos Gallegos2019-07-201-2/+3
|
* The proper way is return, not raise StopIterationMichael Käufl2018-10-211-1/+1
| | | | | | | 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
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-182-4/+4
|
* Drop support for EOL Python 2.6Hugo2018-03-181-4/+1
|
* Remove trailing slash on drive pathCharles Bouchard-Légaré2017-11-161-1/+1
|
* Store submodule nameJohn Kirkham2017-10-011-1/+3
|
* BF: use get, not casting get_value while dealing with submodule path/url etcYaroslav Halchenko2017-09-191-5/+5
|
* Spelling fixesVille Skyttä2017-03-091-3/+3
|
* Merge pull request #541 from andy-maier/py26_fixesSebastian Thiel2016-12-081-1/+4
|\ | | | | Fixes to support Python 2.6 again.
| * Fixes to support Python 2.6 again.Andreas Maier2016-10-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details: - Added Python 2.6 again to .travis.yml (it was removed in commit 4486bcb). - Replaced the use of dictionary comprehensions in `git/cmd.py` around line 800 with the code before that change (in commit 25a2ebf). Reason: dict comprehensions were introduced only in Python 2.7. - Changed the import source for `SkipTest` and `skipIf` from `unittest.case` to first trying `unittest` and upon ImportError from `unittest2`. This was done in `git/util.py` and in several testcases. Reason: `SkipTest` and `skipIf` were introduced to unittest only in Python 2.7, and `unittest2` is a backport of `unittest` additions to Python 2.6. - In git/test/lib/helper.py, fixed the definition of `assertRaisesRegex` to work on py26. - For Python 2.6, added the `unittest2` dependency to `requirements.txt` and changed `.travis.yml` to install `unittest2`. Because git/util.py uses SkipTest from unittest/unittest2, the dependency could not be added to `test-requirements.txt`. - Fixed an assertion in `git/test/test_index.py` to also allow a Python 2.6 specific exception message. - In `is_cygwin_git()` in `git/util.py`, replaced `check_output()` with `Popen()`. It was added in Python 2.7. - Enabled Python 2.6 for Windows: - Added Python 2.6 for MINGW in .appveyor.yml. - When defining `PROC_CREATIONFLAGS` in `git/cmd.py`, made use of certain win32 and subprocess flags that were introduced in Python 2.7, dependent on whether we run on Python 2.7 or higher. - In `AutoInterrupt.__del__()` in `git/cmd.py`, allowed for `os` not having `kill()`. `os.kill()` was added for Windows in Python 2.7 (For Linux, it existed in Python 2.6 already).
* | chore(lint): flake8Sebastian Thiel2016-12-081-1/+1
| | | | | | | | | | | | | | | | Interestingly only shows in particular python versions on travis. Maybe some caching effect? Locally it is reproducible easily, with the latest flake8
* | fix(submodule): don't fail if tracking branch can't be setupSebastian Thiel2016-12-081-1/+1
|/ | | | Fixes #545