summaryrefslogtreecommitdiff
path: root/git/repo/base.py
Commit message (Collapse)AuthorAgeFilesLines
* Update base.pyDominic2021-07-311-4/+4
|
* Fix typing of Head.create_headDavid Hotham2021-07-301-1/+1
|
* Added support of spaces for clone multi_optionsIgor Lakhtenkov2021-07-271-1/+2
|
* Rmv with_metaclass shim, make section constraint generic wrt its ↵Yobmod2021-07-241-2/+4
| | | | configparser type
* Replace all Typeguard with cast, revert update to typing-extensions==3.10.0Yobmod2021-07-241-2/+3
|
* Change remaining type comments to py3.6+ typesYobmod2021-07-191-10/+10
|
* Make types in refs compatible with repoYobmod2021-07-191-3/+4
|
* Increase mypy strictness (no_implicit_optional & warn_redundant_casts) and ↵Yobmod2021-07-081-4/+4
| | | | fix errors
* Fix for mrepo2Yobmod2021-07-061-1/+1
|
* Add types to submodule.update()Yobmod2021-07-061-3/+6
|
* Improve BlameEntry.commit typingYobmod2021-07-051-4/+4
|
* Improve typing of config_levels, add assert_never()Yobmod2021-07-051-9/+10
|
* Add missed types to Commit, uncomment to_native_path_linux()Yobmod2021-07-011-1/+1
|
* Type Traversable.traverse() better, start types of submoduleYobmod2021-06-301-8/+8
|
* Make IterableList generic and update throughoutYobmod2021-06-241-6/+6
|
* Add types to tree.TreeYobmod2021-06-241-1/+2
|
* Update typing-extensions version in requirements.txtYobmod2021-06-231-2/+20
|
* Removes PathLike type requirement for full_tag creationRobert Westman2021-06-031-1/+1
|
* Fix flake8Sebastian Thiel2021-06-031-1/+0
|
* Fixes resolving of tag parameter for repo.tagRobert Westman2021-06-031-1/+12
| | | | | | | | I accessed private variables instead of adding getters, because other parts of the code do the same and I didn't know if there was a reason for it. E.g.: remote.py line 409: (...) RemoteReference._common_path_default (...)
* add types to index.fun.pyYobmod2021-05-171-2/+2
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-151-3/+3
|
* Add types to config.py CONFIG_LEVELS, MetaParserBuilder.__new__() ↵yobmod2021-05-081-2/+1
| | | | .needs_values() .set_dirty_and_flush_changes()
* flake8 fixesyobmod2021-05-081-4/+3
|
* add initial types to remote.pyyobmod2021-05-031-74/+77
|
* add types to base.py and fun.pyyobmod2021-02-281-108/+163
|
* docs: fix simple typo, repostory -> repositoryTim Gates2020-12-251-1/+1
| | | | | | There is a small typo in git/repo/base.py. Should read `repository` rather than `repostory`.
* rename sublist to subsetSagi Shadur2020-09-291-1/+1
|
* Rename get_ignored to ignored and fix the documentationSagi Shadur2020-09-291-2/+2
|
* Find paths ignored in .gitignoreSagi Shadur2020-09-291-0/+13
|
* git/repo/base.py: is_dirty(): Fix pathspec handlingArnaud Patard2020-09-281-1/+1
| | | | | | | | | | | | | It's possible to specify a pathspec (eg :!foo) to git diff/status/... but it currently fails with: git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) cmdline: /usr/bin/git diff --abbrev=40 --full-index --raw :!foo stderr: 'fatal: ambiguous argument ':!foo': unknown revision or path not in the working tree. Add missing '--' to the arguments to fix this ambiguity Signed-off-by: Arnaud Patard <apatard@hupstream.com>
* Add reference to repository to config.Jeremy Retailleau2020-09-021-2/+2
| | | | | | | This is necessary when working with conditional include sections as it requires the git directory or active branch name. https://git-scm.com/docs/git-config#_conditional_includes
* Fixed all warnings in documentation and updated Makefile to treat warnings ↵Kian Cross2020-07-131-3/+3
| | | | as errors.
* Fix exception causes in 7 modulesRam Rachum2020-06-131-2/+2
|
* Fix param format of Repo.commitChenxiong Qi2020-02-241-1/+3
| | | | Signed-off-by: Chenxiong Qi <qcxhome@gmail.com>
* Fix Repo.__repr__ when subclassedJan Matějka2020-02-081-1/+2
|
* Remove and replace compat.text_typeHarmon2020-02-081-3/+2
|
* Remove checks for Python 2 and/or 3Harmon2020-02-081-6/+2
|
* Remove compat.rangeHarmon2020-02-081-1/+0
|
* Remove str import from builtinsHarmon2020-02-081-1/+0
|
* Avoids env var warning when path contains $/%; fix #832Rob Kimball2019-12-061-1/+2
|
* removed Unnecessary “else” after “return”Pratik Anurag2019-10-151-6/+3
|
* git: repo: base: update clone_from env argument descriptionpawel2019-09-301-0/+5
|
* Returning commit object instead of hash valueArthur Milchior2019-08-141-2/+2
|
* Snack case as requested in #903Arthur Milchior2019-08-141-1/+1
|
* Method stating which commit is being played during an halted rebaseArthur Milchior2019-08-141-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 #906Sebastian Thiel2019-08-141-40/+16
| | | | | | | | | Revert "use git rev-parse to look for config file" This reverts commit 0b6b90f9f1e5310a6f39b75e17a04c1133269e8f. Fix #906 Reopen #719
* Fix typo in documentationLoïc Antoine Gombeaud2019-08-111-1/+1
| | | `mutli_options` -> `multi_options`
* Drop python 2 support, again (revert previous revert)Sebastian Thiel2019-08-111-0/+1
| | | | This reverts commit 913d806f02cf50250d230f88b897350581f80f6b.
* use git rev-parse to look for config fileBenjamin Dauvergne2019-08-111-16/+40
|