summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* try fixing up test fixtures and implementationmore-robust-git-diffSebastian Thiel2021-01-052-6/+10
|
* Add '-z' on top of '--raw' to avoid path name manglingSebastian Thiel2021-01-051-1/+2
| | | | | | | Authored based on https://github.com/gitpython-developers/GitPython/issues/1099#issuecomment-754606044 Fixes #1099
* fix universal_newlines TypeErrorJim Wisniewski2020-12-301-3/+4
|
* 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`.
* Added ability to define git environment in submodule add/update methodsIgor Solovey2020-11-191-4/+16
|
* change decode type and add replace flagDavide Spadini2020-11-101-1/+1
|
* bump patch level3.1.11Sebastian Thiel2020-10-232-1/+9
|
* Fix default actor name handlingAthos Ribeiro2020-10-232-5/+15
| | | | | | | | In c96476b, the new default_name nested function does not contain a retun statement. This leads to an issue when the environment variables are not present, where the actor name would not be set. Signed-off-by: Athos Ribeiro <athos@redhat.com>
* bump patch level3.1.10Sebastian Thiel2020-10-232-1/+8
|
* Get system user id in a lazy mannerAthos Ribeiro2020-10-222-5/+36
| | | | | | | | | | | | | | | | Calling getpass.getuser may lead to breakage in environments where there is no entries in the /etc/passwd file for the current user. Setting the environment variables for the git user configurations should prevents GitPython from using values from /etc/passwd. However, doing so will not prevent reading /etc/passwd and looking for an entry with the current user UID. This patch changes the behavior described above so GitPython will perform a lazy evaluation of /etc/passwd, only doing so when the environment variables for the git user configuration are not available. Signed-off-by: Athos Ribeiro <athos@redhat.com>
* Keep flake happyXavier Verges2020-10-051-3/+5
|
* Do not break convention when updating sys.pathXavier Verges2020-10-052-1/+7
|
* Bump patch level3.1.9Sebastian Thiel2020-10-012-1/+8
|
* 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
|
* Add venv to gitignoreSagi Shadur2020-09-291-0/+1
|
* git/repo/base.py: is_dirty(): Fix pathspec handlingArnaud Patard2020-09-282-1/+15
| | | | | | | | | | | | | 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>
* Fix typoEric Dill2020-09-091-1/+1
|
* Update release verification instructions as suggested in #1055Sebastian Thiel2020-09-071-7/+7
|
* Adjust signature key - please read if you verify installs/packagesSebastian Thiel2020-09-042-41/+81
| | | | | | | | | | | | | | | | After a recent 'cleanup' operation that attempted to simplify my GPG key workflow with Yubikeys, it looks like my GPG installation has 'forgotten' how to interact with the key I typically used to sign GitPython releases. Since I never managed to establish a chain of trust with my only remaining 'good' key, for you this means you cannot trust new GitPython releases anymore. There is nothing I can do about except to apologize for the hassle. If you want to make constructive suggestions on how to fix this, I am happy to work with you on that.
* bump patch level3.1.8Sebastian Thiel2020-09-042-1/+11
|
* Merge pull request #1054 from buddly27/read-conditional-includeSebastian Thiel2020-09-043-6/+189
|\ | | | | Read conditional include
| * Ensure that detached HEAD does not raise when comparing branch name.Jeremy Retailleau2020-09-032-1/+24
| |
| * Reformat code to remove unnecessary indentationJeremy Retailleau2020-09-031-29/+31
| |
| * Remove name as not necessary to track down authors.Jeremy Retailleau2020-09-031-1/+0
| |
| * Add missing blank lineJeremy Retailleau2020-09-021-0/+1
| |
| * Add missing rules to match hierarchy pathJeremy Retailleau2020-09-022-12/+24
| |
| * Update AUTHOR to respect to contributing guidelines.Jeremy Retailleau2020-09-021-0/+1
| |
| * Add unit testsJeremy Retailleau2020-09-021-0/+99
| |
| * Fix logic to properly compare glob pattern to valueJeremy Retailleau2020-09-021-15/+16
| |
| * Add method to retrieve all possible paths to includeJeremy Retailleau2020-09-021-1/+36
| |
| * Add reference to repository to config.Jeremy Retailleau2020-09-022-4/+8
| | | | | | | | | | | | | | 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
| * Update check method to find all includesJeremy Retailleau2020-09-021-1/+4
| |
| * Add Regex to match content of "includeIf" sectionJeremy Retailleau2020-09-021-0/+3
| |
* | update contribution guidelines to be a little less concise and more politeSebastian Thiel2020-09-031-4/+7
|/
* inform about GitoxideSebastian Thiel2020-09-021-0/+15
|
* add myself to authorsAlba Mendez2020-08-311-0/+1
|
* accept datetime instances as datesAlba Mendez2020-08-312-0/+10
| | | | | | There's no easy way to re-create a commit (i.e. for rewriting purposes), because dates must be formatted as strings, passed, then parsed back. This patch allows parse_date() to accept datetime instances, such as those produced by from_timestamp() above.
* Ensure only fully matching symrefs are deletedSimon Westphahl2020-08-121-2/+4
| | | | | | | | Deleting a symbolic ref with e.g. the name 'refs/remotes/origin/mas' would also delete 'refs/remotes/origin/master' if the ref had to be deleted from the pack file. In order to fix this the full ref is now checked for a match.
* Fixed all warnings in documentation and updated Makefile to treat warnings ↵Kian Cross2020-07-137-24/+24
| | | | as errors.
* Added nose to test-requirementsKian Cross2020-07-131-0/+1
|
* bump patch level3.1.7Sebastian Thiel2020-07-132-1/+7
|
* Merge pull request #1033 from kiancross/fix-doc-examplesSebastian Thiel2020-07-131-48/+48
|\ | | | | Fixed broken paths in tutorial documentation
| * Fixed broken file paths.Kian Cross2020-07-131-48/+48
|/
* bump patch level3.1.6Sebastian Thiel2020-07-132-1/+6
|
* Merge pull request #1031 from priv-kweihmann/move-test-2ndSebastian Thiel2020-07-13106-51/+97
|\ | | | | [RFC/WIP] move tests and avoid packaging them
| * test: add installation testKonrad Weihmann2020-07-122-0/+30
| | | | | | | | | | | | | | | | | | which installs the current codebase in a venv and runs 'import git' to test if codebase can be installed properly. This adds virtualenv to the test requirements Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
| * tools: update tool scripts after moving testsKonrad Weihmann2020-07-124-4/+4
| | | | | | | | Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
| * MANIFEST.in: update to exclude testsKonrad Weihmann2020-07-121-4/+1
| | | | | | | | | | | | and remove all previously used test related settings Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>