* Bump git2 from 0.20.0 to 0.20.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.20.0 to 0.20.1.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.20.0...git2-0.20.1)
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Avoid passing reference into struct
git2-rs changed the lifetime of the result of Patch::hunk() to reference
the patch struct:
https://github.com/rust-lang/git2-rs/pull/1141
Thus, returning a patch struct and a reference into it is flagged by the
borrow checker upon move when returning.
This patch avoids returning both alltogether by separating retrieving
and retrieving the patch.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naseschwarz <naseschwarz@0x53a.de>
* Add test for AsyncLog respecting GIT_DIR
* Mark test as serial
* Mark additional test as serial
* Unwrap result to get more info in error case
---------
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
* Fix log crashing in subdirectories
Replace `gix::open` by `gix::discover`. `gix::open` errors when the
passed directory is not a git repository.
* Add test for AsyncLog in sub-directory
* Respect env variables when discovering repo
---------
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
* Add LogWalkerWithoutFilter, using gitoxide
* Use feature revision for gix
---------
Co-authored-by: extrawurst <776816+extrawurst@users.noreply.github.com>
* Support git commit signing using OpenPGP
* workaround for amending signed commits
* workaround for rewording signed commits
* support signing initial commit
* return both signature and signature_field value from sign
---------
Co-authored-by: Utkarsh Gupta <utkarshgupta137@gmail.com>
* will consume all cores now and got faster in all my benchmarks
* setting progress via asyncjob now makes sure to only set it if it has changed and return whether that is the case to simplify sending progress notifications only in case progress actually changed