summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * FIX: Fix flake8 command lineDWesl2022-06-101-1/+1
| | | | | | Got this wrong the first time through
| * CI: Specify full path to python executables.DWesl2022-06-101-11/+11
| |
| * CI: Mark GHA repo safe for Git to useDWesl2022-06-101-0/+3
| |
| * ENH: Update cygpath recodes to work with all installsDWesl2022-06-101-3/+3
| | | | | | People can change the `/cygdrive` prefix for mounting Windows drives; `/` and `/mnt` are both popular. `/proc/cygdrive` is always going to have the drive letters under it.
| * CI: Add a CI job with Cygwin testsDWesl2022-06-101-0/+53
| | | | | | I think this got deleted because the tests were failing, so let's see what happens!
| * BUG: Fix is_cygwin_git to return True on Cygwin.DWesl2022-06-101-1/+3
| |
* | Bump actions/setup-python from 3 to 4dependabot[bot]2022-06-131-1/+1
|/ | | | | | | | | | | | | | Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump actions/checkout from 2 to 3dependabot[bot]2022-05-291-1/+1
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump actions/setup-python from 2 to 3dependabot[bot]2022-05-291-1/+1
| | | | | | | | | | | | | | Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* chore: Included githubactions in the dependabot confignaveen2022-05-291-0/+6
| | | | | | | | | | | This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure. Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
* Merge pull request #1449 from whokilleddb/fix_testsSebastian Thiel2022-05-281-0/+2
|\ | | | | Fixed test-requirements.txt
| * Fixed test-requirements.txtwhokilleddb2022-05-281-0/+2
| |
* | Merge pull request #1448 from turrisxyz/Pinned-Dependencies-GitHubSebastian Thiel2022-05-281-0/+3
|\ \ | |/ |/| chore: Set permissions for GitHub actions
| * chore: Set permissions for GitHub actionsnaveen2022-05-281-0/+3
|/ | | | | | | | | | | | | | Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. - Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/) Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
* Merge pull request #1440 from rdbisme/index-pathlikeSebastian Thiel2022-05-192-2/+13
|\ | | | | fix: Allow adding PathLike object to index
| * fix: Allow adding PathLike object to indexRuben DI BATTISTA2022-05-182-2/+13
|/ | | | Close #1382
* Merge branch 'black-fmt'Sebastian Thiel2022-05-1869-3682/+5270
|\
| * can flake be tamed?black-fmtSebastian Thiel2022-05-183-1/+4
| |
| * doesn't look like 'black' can be taught to be consistent across versionsSebastian Thiel2022-05-181-5/+0
| |
| * reformat according to 'black' configuration file.Sebastian Thiel2022-05-1856-1753/+577
| |
| * See if black can be tought to produce consistent resultsSebastian Thiel2022-05-182-1/+5
| |
| * Revert "don't attempt black checking as it binds us to ever changing black ↵Sebastian Thiel2022-05-181-0/+5
| | | | | | | | | | | | versions" This reverts commit 0c9d067e847377657b2208012df020b0b8650b5f.
| * don't attempt black checking as it binds us to ever changing black versionsSebastian Thiel2022-05-181-5/+0
| | | | | | | | Maybe there is a way to pin this?
| * improve compatibility of flake8 with blackSebastian Thiel2022-05-184-6/+12
| |
| * Revert "Remove flake8 linting in favor of `black` formatting"Sebastian Thiel2022-05-1812-6/+59
| | | | | | | | This reverts commit a7c5d887e943aa51f2270e517954c024a8c01500.
| * Remove flake8 linting in favor of `black` formattingSebastian Thiel2022-05-1812-59/+6
| | | | | | | | `flake8` seems to dislike the formatting of black.
| * Run everything through 'black'Sebastian Thiel2022-05-1865-3917/+6673
|/ | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* Merge pull request #1438 from luzpaz/typosSebastian Thiel2022-05-0823-33/+33
|\ | | | | Fix various typos
| * Fix various typosluz paz2022-05-0723-33/+33
|/ | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
* Merge pull request #1437 from glennmatthews/issue-1284Sebastian Thiel2022-05-054-20/+46
|\ | | | | Strip usernames from URLs as well as passwords
| * Fix #1284: strip usernames from URLs as well as passwordsGlenn Matthews2022-05-044-20/+46
|/
* Merge pull request #1423 from toku-sa-n/strip_newline_optionSebastian Thiel2022-04-073-3/+16
|\ | | | | feat(cmd): add the `strip_newline` flag
| * fix(docs): remove an unexpected blank lineHiroki Tokunaga2022-04-071-1/+0
| |
| * docs: escape with backticksHiroki Tokunaga2022-04-071-1/+1
| |
| * chore: `s/strip_newline/&_in_stdout`Hiroki Tokunaga2022-04-072-7/+7
| |
| * chore: add me to AUTHORSHiroki Tokunaga2022-04-061-0/+1
| |
| * feat(cmd): add the `strip_newline` flagHiroki Tokunaga2022-04-062-2/+15
|/ | | | | | | | This commit adds the `strip_newline` flag to the `Git.execute` method. When this flag is set to `True`, it will trim the trailing `\n`. The default value is `True` for backward compatibility. Setting it to `False` is helpful for, e.g., the `git show` output, especially with the binary file, as the missing `\n` may invalidate the file.
* Allow `repo.create_head`'s `commit` arg to be a `SymbolicReference`David Robertson2022-04-021-1/+2
| | | | This matches the signature from `Head.create`.
* Fixed setting ref with non-ascii in pathDmitry Kalinin2022-03-231-1/+1
|
* fix typosJerry Jones2022-02-241-5/+5
|
* fix iter_commits comment, more in line with iter_itemsHoussam Kherraz2022-02-241-2/+2
|
* Deprecate GPG signature docs; stop signing releasesSebastian Thiel2022-02-212-2/+7
| | | | Related to https://github.com/gitpython-developers/gitdb/issues/77
* fix changelogSebastian Thiel2022-02-201-9/+2
|
* bump patch level3.1.27Sebastian Thiel2022-02-201-1/+1
|
* update changelogSebastian Thiel2022-02-201-0/+9
|
* Low risk ReDoS vulntheworstcomrade2022-02-201-1/+1
| | | | https://huntr.dev/bounties/8549d81f-dc45-4af7-9f2a-2d70752d8524/
* Create SECURITY.mdSebastian Thiel2022-02-121-0/+16
|
* Let index.commit refer to correct method for parameter information (#1407)Sebastian Thiel2022-02-031-1/+1
|
* set unassigned stdin to improve pyinstaller compatibilitysmokephil2022-01-211-2/+3
| | | | To create a window application with pyinstaller, all suprocess input and output streams must be assigned and must not be None. https://stackoverflow.com/a/51706087/7076612
* Use bash to open extensionless hooks on windowsDavid Briscoe2022-01-142-4/+20
| | | | | | | | | | | | | | | Fix #971. Partly resolve #703. If the hook doesn't have a file extension, then Windows won't know how to run it and you'll get "[WinError 193] %1 is not a valid Win32 application". It's very likely that it's a shell script of some kind, so use bash.exe (commonly installed via Windows Subsystem for Linux). We don't want to run all hooks with bash because they could be .bat files. Update tests to get several hook ones working. More work necessary to get commit-msg hook working. The hook writes to the wrong file because it's not using forward slashes in the path: C:\Users\idbrii\AppData\Local\Temp\bare_test_commit_msg_hook_successy5fo00du\CUsersidbriiAppDataLocalTempbare_test_commit_msg_hook_successy5fo00duCOMMIT_EDITMSG