summaryrefslogtreecommitdiff
path: root/git
Commit message (Collapse)AuthorAgeFilesLines
* 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 (...)
* Adds _common_default to build _common_path_defaultRobert Westman2021-06-031-1/+2
|
* Don't raise on unknown line when parsing stale refs (#1262)Sebastian Thiel2021-06-031-1/+1
|
* improve index mode for files with executable bitTodd Zullinger2021-05-251-1/+2
| | | | | | | | | | | | | | | | | The fix for #430 in bebc4f56 (Use correct mode for executable files, 2016-05-19) is incomplete. It fails (in most cases) when files have modes which are not exactly 0644 or 0755. Git only cares whether the executable bit is set (or not). Ensure the mode we set for the index is either 100644 or 100755 based on whether the executable bit is set for the file owner. Do this similarly to how upstream git does it in cache.h¹. Add a test covering various file modes to help catch regressions. Fixes #1253 ¹ https://github.com/git/git/blob/v2.31.1/cache.h#L247
* fixed case where progress was no longer shown if a single error occuredmxrch2021-05-211-1/+1
|
* Tidy up some commentsYobmod2021-05-171-1/+0
|
* index.base unmerged_blobs() doc stringYobmod2021-05-171-2/+2
|
* forward reference for IndexFileYobmod2021-05-171-6/+7
|
* forward reference for IndexFileYobmod2021-05-171-1/+1
|
* add types to index.fun.pyYobmod2021-05-175-39/+59
|
* flake8 and mypy fixesYobmod2021-05-167-20/+20
|
* Add types to index.util.pyYobmod2021-05-161-9/+21
|
* Add types to index.typ.pyYobmod2021-05-162-23/+35
|
* Add remaining types to IndexFile ._store_items() ._entries_for_paths()Yobmod2021-05-161-8/+12
|
* Add remaining types to IndexFile ._preprocess_add_items() to .diff()Yobmod2021-05-161-1/+2
|
* Add remaining types to IndexFile ._preprocess_add_items() to .diff()Yobmod2021-05-165-44/+65
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-151-4/+6
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-152-6/+6
|
* Add initial types to IndexFile .init() to _to_relative_path()Yobmod2021-05-153-57/+82
|
* 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-132-4/+10
|/
* flake8 and mypy fixesyobmod2021-05-132-30/+20
|
* Add types to cmd.py Gityobmod2021-05-135-83/+194
|
* Add types to cmd.py CatFileContentStreamyobmod2021-05-121-10/+10
|
* Add types to cmd.py AutoInterruptyobmod2021-05-122-18/+21
|
* Add types to cmd.py Gityobmod2021-05-122-20/+52
|
* Add typing section to cmd.pyyobmod2021-05-121-0/+12
|
* Add types to config.py GitConfigParser ._assure_writable .add_section ↵yobmod2021-05-092-16/+18
| | | | .read_only .get_value .get_values ._string_to_value ._value_to_string .add_value .rename_section
* Add types to config.py GitConfigParser .write() ._write() .items() .items_all()yobmod2021-05-091-8/+10
|
* Add types to config.py GitConfigParser .read()yobmod2021-05-091-11/+17
|
* Add types to config.py GitConfigParser .release() ._read() ._has_includes() ↵yobmod2021-05-081-14/+16
| | | | ._included_paths() .__del__() .__exit__() .__enter__() ._optionform()
* Add types to config.py GitConfigParser .__init__() .aquire_lock()yobmod2021-05-081-17/+26
|
* Add types to config.py class _OMDyobmod2021-05-081-13/+20
|
* Add types to config.py class SectionConstraintyobmod2021-05-081-10/+10
|
* Add types to config.py CONFIG_LEVELS, MetaParserBuilder.__new__() ↵yobmod2021-05-083-12/+13
| | | | .needs_values() .set_dirty_and_flush_changes()
* flake8 fixesyobmod2021-05-087-70/+79
|
* Add types to Remote. init getattr existsyobmod2021-05-081-3/+3
|
* fix Repo forward refyobmod2021-05-031-1/+1
|
* second pass of adding typesyobmod2021-05-032-16/+22
|
* add types to _from_line()yobmod2021-05-031-6/+7
|
* add overloads to to_progress_instance()yobmod2021-05-031-2/+18
|
* change flags type to intyobmod2021-05-031-4/+4
|
* change a type (Commit) to a forward refyobmod2021-05-031-1/+1
|
* Merge branch 'addtypes' of https://github.com/Yobmod/GitPython into addtypesyobmod2021-05-031-0/+0
|\
| * Merge branch 'main' into addtypesDominic2021-05-031-0/+0
| |\
| | * Fix flake8Sebastian Thiel2021-04-241-2/+2
| | |
| | * Use typing-extensions only on Python < 3.8Michał Górny2021-04-235-4/+16
| | | | | | | | | | | | | | | | | | All necessary attributes are available in the built-in typing module since Python 3.8. Use typing-extensions only for older versions of Python, and avoid the unnecessary dep in 3.8+.