aboutsummaryrefslogtreecommitdiff
path: root/git/repo
AgeCommit message (Collapse)Author
2020-09-29rename sublist to subsetSagi Shadur
2020-09-29Rename get_ignored to ignored and fix the documentationSagi Shadur
2020-09-29Find paths ignored in .gitignoreSagi Shadur
2020-09-28git/repo/base.py: is_dirty(): Fix pathspec handlingArnaud Patard
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>
2020-09-02Add reference to repository to config.Jeremy Retailleau
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
2020-07-13Fixed all warnings in documentation and updated Makefile to treat warnings ↵Kian Cross
as errors.
2020-06-13Fix exception causes in 7 modulesRam Rachum
2020-04-11Satisfy flake8 requirement related to #1000Sebastian Thiel
2020-04-11Try again to apply patch related to #1000Sebastian Thiel
2020-04-11Revert "When using GIT_OBJECT_DIRECTORY, don't require presence of 'objects' ↵Sebastian Thiel
subdirectory" This reverts commit eb792ea76888970d486323df07105129abbbe466. Seems to break CI Related to #1000
2020-04-11When using GIT_OBJECT_DIRECTORY, don't require presence of 'objects' ↵Sebastian Thiel
subdirectory This will work for default git object databases only, which use git as object database directly. Related to #1000
2020-02-24Fix param format of Repo.commitChenxiong Qi
Signed-off-by: Chenxiong Qi <qcxhome@gmail.com>
2020-02-08Fix Repo.__repr__ when subclassedJan Matějka
2020-02-08Remove and replace compat.text_typeHarmon
2020-02-08Remove checks for Python 2 and/or 3Harmon
2020-02-08Remove and replace compat.xrangeHarmon
2020-02-08Remove compat.rangeHarmon
2020-02-08Remove str import from builtinsHarmon
2019-12-06Avoids env var warning when path contains $/%; fix #832Rob Kimball
2019-10-15removed Unnecessary “else” after “return”Pratik Anurag
2019-09-30git: repo: base: update clone_from env argument descriptionpawel
2019-08-14Returning commit object instead of hash valueArthur Milchior
2019-08-14Snack case as requested in #903Arthur Milchior
2019-08-14Method stating which commit is being played during an halted rebaseArthur Milchior
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.
2019-08-14Fix performance regression, see #906Sebastian Thiel
Revert "use git rev-parse to look for config file" This reverts commit 0b6b90f9f1e5310a6f39b75e17a04c1133269e8f. Fix #906 Reopen #719
2019-08-11Fix typo in documentationLoïc Antoine Gombeaud
`mutli_options` -> `multi_options`
2019-08-11Drop python 2 support, again (revert previous revert)Sebastian Thiel
This reverts commit 913d806f02cf50250d230f88b897350581f80f6b.
2019-08-11use git rev-parse to look for config fileBenjamin Dauvergne
2019-07-29Revert "Drop python 2.7 support and help with encodings"Sebastian Thiel
This reverts commit dac619e4917b0ad43d836a534633d68a871aecca.
2019-07-20normalize path after joining submodule path and the relative path to the git ↵Joe Savage
dir, to eliminate path length errors on Windows
2019-07-20Drop python 2.7 support and help with encodingsSebastian Thiel
Fixes #312
2019-07-20Revert "This time, use test-requirements."Sebastian Thiel
This reverts commit 74a0507f4eb468b842d1f644f0e43196cda290a1. https://travis-ci.org/gitpython-developers/GitPython/jobs/561334516#L634
2019-07-20This time, use test-requirements.Sebastian Thiel
2019-07-20Revert "Merge branch 'PR-non-ascii-filenames' of ↵Sebastian Thiel
https://github.com/xarx00/GitPython into xarx00-PR-non-ascii-filenames" This reverts commit 3b13c115994461fb6bafe5dd06490aae020568c1, reversing changes made to da8aeec539da461b2961ca72049df84bf30473e1. It doesn't pass, unfortunately. Is it a travis issue? https://travis-ci.org/gitpython-developers/GitPython/jobs/561333763#L340
2019-07-20Merge branch 'PR-non-ascii-filenames' of https://github.com/xarx00/GitPython ↵Sebastian Thiel
into xarx00-PR-non-ascii-filenames
2019-07-06Add support to pass clone options that can be repeated multiple timesSteven Whitman
2019-06-17Fix typo in docstringAurelio Jargas
2019-04-06builtins module is part of the future packagexarx00
2019-04-06Fix for: No module named builtins (CI tests error)xarx00
2019-04-05added support for non-ascii directories and file namesxarx00
2019-03-15Added usage example to Repo __init__.py call for Windows usersAlex
2018-12-22read workdir from git.config as referenced in man 1 git-configBjörn Lässig
Edited-by: Florian Scherf <f.scherf@pengutronix.de> added the remaining feedback in https://github.com/gitpython-developers/GitPython/pull/801/files
2018-10-21The proper way is return, not raise StopIterationMichael Käufl
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
2018-10-13Respect _common_dir when finding repository config fileLuc Ritchie
Among other things, remotes are now correctly identified when in a separate worktree.
2018-07-15Allow pathlib.Path in Repo.__init__oldPadavan
2018-07-15Fix small typoRiley Martine
Fix small typo and slightly reword docstring.
2018-03-18Rewrite unnecessary dict/list/tuple calls as literalsHugo
2018-03-04Fix doc typossamuela
2017-12-11Remove redundant Python 2.4 codeHugo
2017-11-27RF: primarily flake8 lints + minor RF to reduce duplication in PATHEXTYaroslav Halchenko
I did keep some "bare" except with catch all Exception: , while tried to disable flake8 complaints where clearly all exceptions are to be catched