summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bump patch level3.1.14Sebastian Thiel2021-02-282-2/+2
|
* Merge pull request #1184 from Yobmod/mainSebastian Thiel2021-02-284-3/+5
|\ | | | | Add python 3.9
| * add python 3.9 supportyobmod2021-02-264-3/+5
| |
| * rebase on masteryobmod2021-02-267-8/+10
| |
| * rmv temp fileYobmod2021-02-241-18/+0
| |
| * drop python 3.4, update .gitignoreYobmod2021-02-248-10/+26
|/
* Merge pull request #1126 from larsks/feature/changelogSebastian Thiel2021-02-171-1/+7
|\ | | | | add a changelog entry for #1124
| * add a changelog entry for #1124Lars Kellogg-Stedman2021-02-171-1/+7
|/ | | | | - add a changelog entry for #1124 - correct duplicate entry for 3.1.12 -> 3.1.13
* Merge pull request #1124 from larsks/feature/replaceSebastian Thiel2021-02-172-7/+56
|\ | | | | add replace method to git.Commit
| * add replace method to git.CommitLars Kellogg-Stedman2021-02-152-7/+56
|/ | | | | | | | | | | This adds a replace method to git.Commit. The replace method returns a copy of the Commit object with attributes replaced from keyword arguments. For example: >>> old = repo.head.commit >>> new = old.replace(message='This is a test') closes #1123
* fix changes.rstSebastian Thiel2021-02-091-1/+1
|
* version bump3.1.13Sebastian Thiel2021-02-093-1/+7
|
* Merge pull request #1119 from yvolchkov/masterSebastian Thiel2021-02-052-1/+8
|\ | | | | Fix inheritance issue at commit.iter_items
| * Fix inheritance issue at commit.iter_itemsYuri Volchkov2021-02-052-1/+8
|/ | | | | | | The iterator used to yield Commit() objects, which does not play well with inheritance. Yield cls() instead. Signed-off-by: Yuri Volchkov <yuri@volch.org>
* fix universal_newlines TypeErrorx-santiaga-x2021-01-281-1/+3
| | | | Fixes #1116
* Make git.cmd.Git.CatFileContentStream iterableHex0522021-01-171-0/+3
| | | Add __next__ method to git.cmd.Git.CatFileContentStream, so it can actually be used as an iterable
* fix(fetch): use the correct FETCH_HEAD from within a worktreeGiel van Schijndel2021-01-141-3/+2
| | | | | | | | FETCH_HEAD is one of the symbolic references local to the current worktree and as such should _not_ be looked up in the 'common_dir'. But instead of just hard coding the "right thing" (git_dir) lets defer this to the SymbolicReference class which already contains this knowledge in its 'abspath' property.
* Add license argument to setup.pyHarmon2021-01-101-0/+1
| | | | Resolves #1106
* Fix package name in intro docs to reflect actual pypi name (with capitalization)Kevin Reynolds2021-01-091-1/+1
|
* fix flakeSebastian Thiel2021-01-081-0/+1
|
* fix tests the fast waySebastian Thiel2021-01-081-8/+10
|
* First attempt to fix failing test of #1103fix-1103Sebastian Thiel2021-01-071-4/+10
| | | | | | | | | | | | However, the test asserts on the provided context to be correct, which is hard to do in this branch while it's easy to doubt the value of this. Lastly, there seems to be no way to ignore errors in `git` without muting all output, which is in fact parsed. Maybe it's possible to ignore errors while parsing the new kind of error message.
* prepare release3.1.12Sebastian Thiel2021-01-062-7/+13
|
* Fix handle_diff_line for -z option.Martin Liska2021-01-061-49/+49
|
* try fixing up test fixtures and implementationSebastian Thiel2021-01-062-6/+10
|
* Add '-z' on top of '--raw' to avoid path name manglingSebastian Thiel2021-01-061-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
| |