summaryrefslogtreecommitdiff
path: root/git/repo
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1198 from RyaxTech/replace-password-in-uri-by-starsSebastian Thiel2021-03-191-2/+5
|\ | | | | Replace password in URI by stars if present to avoid leaking secrets in logs
| * Put remove password in the utils and use it also in cmd.executeMichael Mercier2021-03-151-12/+3
| |
| * Use urllib instead of custom parsingMichael Mercier2021-03-151-4/+10
| |
| * Replace password in URI by stars if present + testMichael Mercier2021-03-111-1/+7
| |
* | chane HEAD typing to SymbolicReferenceYobmod2021-03-161-1/+1
| |
* | fixes from #1202Yobmod2021-03-161-12/+16
| |
* | add types to git.__init__, compat, db, diff, exc, utilYobmod2021-03-161-16/+8
| |
* | Combined commits to add types to base.py and fun.pyyobmod2021-03-042-123/+196
|/
* 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-132-8/+10
|
* Satisfy flake8 requirement related to #1000Sebastian Thiel2020-04-111-1/+1
|
* Try again to apply patch related to #1000Sebastian Thiel2020-04-111-1/+2
|
* Revert "When using GIT_OBJECT_DIRECTORY, don't require presence of 'objects' ↵Sebastian Thiel2020-04-111-2/+1
| | | | | | | | | subdirectory" This reverts commit eb792ea76888970d486323df07105129abbbe466. Seems to break CI Related to #1000
* When using GIT_OBJECT_DIRECTORY, don't require presence of 'objects' ↵Sebastian Thiel2020-04-111-1/+2
| | | | | | | | | subdirectory This will work for default git object databases only, which use git as object database directly. Related to #1000
* 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 and replace compat.xrangeHarmon2020-02-081-2/+1
|
* 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
|
* Revert "Drop python 2.7 support and help with encodings"Sebastian Thiel2019-07-291-1/+0
| | | | This reverts commit dac619e4917b0ad43d836a534633d68a871aecca.
* normalize path after joining submodule path and the relative path to the git ↵Joe Savage2019-07-201-1/+1
| | | | dir, to eliminate path length errors on Windows
* Drop python 2.7 support and help with encodingsSebastian Thiel2019-07-201-0/+1
| | | | Fixes #312
* Revert "This time, use test-requirements."Sebastian Thiel2019-07-201-1/+0
| | | | | | This reverts commit 74a0507f4eb468b842d1f644f0e43196cda290a1. https://travis-ci.org/gitpython-developers/GitPython/jobs/561334516#L634
* This time, use test-requirements.Sebastian Thiel2019-07-201-0/+1
|
* Revert "Merge branch 'PR-non-ascii-filenames' of ↵Sebastian Thiel2019-07-201-1/+0
| | | | | | | | | | 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
* Merge branch 'PR-non-ascii-filenames' of https://github.com/xarx00/GitPython ↵Sebastian Thiel2019-07-201-0/+1
|\ | | | | | | into xarx00-PR-non-ascii-filenames
| * builtins module is part of the future packagexarx002019-04-061-1/+1
| |
| * Fix for: No module named builtins (CI tests error)xarx002019-04-061-1/+1
| |
| * added support for non-ascii directories and file namesxarx002019-04-051-0/+1
| |
* | Add support to pass clone options that can be repeated multiple timesSteven Whitman2019-07-061-6/+14
| |
* | Fix typo in docstringAurelio Jargas2019-06-171-2/+2
|/
* Added usage example to Repo __init__.py call for Windows usersAlex2019-03-151-0/+1
|