Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | First attempt to fix failing test of #1103fix-1103 | Sebastian Thiel | 2021-01-07 | 1 | -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.12 | Sebastian Thiel | 2021-01-06 | 2 | -7/+13 |
| | |||||
* | Fix handle_diff_line for -z option. | Martin Liska | 2021-01-06 | 1 | -49/+49 |
| | |||||
* | try fixing up test fixtures and implementation | Sebastian Thiel | 2021-01-06 | 2 | -6/+10 |
| | |||||
* | Add '-z' on top of '--raw' to avoid path name mangling | Sebastian Thiel | 2021-01-06 | 1 | -1/+2 |
| | | | | | | | Authored based on https://github.com/gitpython-developers/GitPython/issues/1099#issuecomment-754606044 Fixes #1099 | ||||
* | fix universal_newlines TypeError | Jim Wisniewski | 2020-12-30 | 1 | -3/+4 |
| | |||||
* | docs: fix simple typo, repostory -> repository | Tim Gates | 2020-12-25 | 1 | -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 methods | Igor Solovey | 2020-11-19 | 1 | -4/+16 |
| | |||||
* | change decode type and add replace flag | Davide Spadini | 2020-11-10 | 1 | -1/+1 |
| | |||||
* | bump patch level3.1.11 | Sebastian Thiel | 2020-10-23 | 2 | -1/+9 |
| | |||||
* | Fix default actor name handling | Athos Ribeiro | 2020-10-23 | 2 | -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.10 | Sebastian Thiel | 2020-10-23 | 2 | -1/+8 |
| | |||||
* | Get system user id in a lazy manner | Athos Ribeiro | 2020-10-22 | 2 | -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 happy | Xavier Verges | 2020-10-05 | 1 | -3/+5 |
| | |||||
* | Do not break convention when updating sys.path | Xavier Verges | 2020-10-05 | 2 | -1/+7 |
| | |||||
* | Bump patch level3.1.9 | Sebastian Thiel | 2020-10-01 | 2 | -1/+8 |
| | |||||
* | rename sublist to subset | Sagi Shadur | 2020-09-29 | 1 | -1/+1 |
| | |||||
* | Rename get_ignored to ignored and fix the documentation | Sagi Shadur | 2020-09-29 | 1 | -2/+2 |
| | |||||
* | Find paths ignored in .gitignore | Sagi Shadur | 2020-09-29 | 1 | -0/+13 |
| | |||||
* | Add venv to gitignore | Sagi Shadur | 2020-09-29 | 1 | -0/+1 |
| | |||||
* | git/repo/base.py: is_dirty(): Fix pathspec handling | Arnaud Patard | 2020-09-28 | 2 | -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 typo | Eric Dill | 2020-09-09 | 1 | -1/+1 |
| | |||||
* | Update release verification instructions as suggested in #1055 | Sebastian Thiel | 2020-09-07 | 1 | -7/+7 |
| | |||||
* | Adjust signature key - please read if you verify installs/packages | Sebastian Thiel | 2020-09-04 | 2 | -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.8 | Sebastian Thiel | 2020-09-04 | 2 | -1/+11 |
| | |||||
* | Merge pull request #1054 from buddly27/read-conditional-include | Sebastian Thiel | 2020-09-04 | 3 | -6/+189 |
|\ | | | | | Read conditional include | ||||
| * | Ensure that detached HEAD does not raise when comparing branch name. | Jeremy Retailleau | 2020-09-03 | 2 | -1/+24 |
| | | |||||
| * | Reformat code to remove unnecessary indentation | Jeremy Retailleau | 2020-09-03 | 1 | -29/+31 |
| | | |||||
| * | Remove name as not necessary to track down authors. | Jeremy Retailleau | 2020-09-03 | 1 | -1/+0 |
| | | |||||
| * | Add missing blank line | Jeremy Retailleau | 2020-09-02 | 1 | -0/+1 |
| | | |||||
| * | Add missing rules to match hierarchy path | Jeremy Retailleau | 2020-09-02 | 2 | -12/+24 |
| | | |||||
| * | Update AUTHOR to respect to contributing guidelines. | Jeremy Retailleau | 2020-09-02 | 1 | -0/+1 |
| | | |||||
| * | Add unit tests | Jeremy Retailleau | 2020-09-02 | 1 | -0/+99 |
| | | |||||
| * | Fix logic to properly compare glob pattern to value | Jeremy Retailleau | 2020-09-02 | 1 | -15/+16 |
| | | |||||
| * | Add method to retrieve all possible paths to include | Jeremy Retailleau | 2020-09-02 | 1 | -1/+36 |
| | | |||||
| * | Add reference to repository to config. | Jeremy Retailleau | 2020-09-02 | 2 | -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 includes | Jeremy Retailleau | 2020-09-02 | 1 | -1/+4 |
| | | |||||
| * | Add Regex to match content of "includeIf" section | Jeremy Retailleau | 2020-09-02 | 1 | -0/+3 |
| | | |||||
* | | update contribution guidelines to be a little less concise and more polite | Sebastian Thiel | 2020-09-03 | 1 | -4/+7 |
|/ | |||||
* | inform about Gitoxide | Sebastian Thiel | 2020-09-02 | 1 | -0/+15 |
| | |||||
* | add myself to authors | Alba Mendez | 2020-08-31 | 1 | -0/+1 |
| | |||||
* | accept datetime instances as dates | Alba Mendez | 2020-08-31 | 2 | -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 deleted | Simon Westphahl | 2020-08-12 | 1 | -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 Cross | 2020-07-13 | 7 | -24/+24 |
| | | | | as errors. | ||||
* | Added nose to test-requirements | Kian Cross | 2020-07-13 | 1 | -0/+1 |
| | |||||
* | bump patch level3.1.7 | Sebastian Thiel | 2020-07-13 | 2 | -1/+7 |
| | |||||
* | Merge pull request #1033 from kiancross/fix-doc-examples | Sebastian Thiel | 2020-07-13 | 1 | -48/+48 |
|\ | | | | | Fixed broken paths in tutorial documentation | ||||
| * | Fixed broken file paths. | Kian Cross | 2020-07-13 | 1 | -48/+48 |
|/ | |||||
* | bump patch level3.1.6 | Sebastian Thiel | 2020-07-13 | 2 | -1/+6 |
| | |||||
* | Merge pull request #1031 from priv-kweihmann/move-test-2nd | Sebastian Thiel | 2020-07-13 | 106 | -51/+97 |
|\ | | | | | [RFC/WIP] move tests and avoid packaging them |