mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
The algorithm for computing marked_consecutive assumes that commits are consecutive in the commit graph if they are consecutive in the linearized log used in` commitlist.rs`. That is not universally correct, as siblings may also be displayed consecutively in this list. For now, this just removes generating commit lists in dotted range notation. Co-authored-by: Naseschwarz <naseschwarz@0x53a.de> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENSE.md | ||
| README.md | ||
asyncgit
allow using git2 in an asynchronous context
This crate is designed as part of the gitui project.
asyncgit provides the primary interface to interact with git repositories. It is split into the main module and a sync part. The latter provides convenience wrapper for typical usage patterns against git repositories.
The primary goal however is to allow putting certain (potentially) long running git2 calls onto a thread pool.crossbeam-channel is then used to wait for a notification confirming the result.
In gitui this allows the main-thread and therefore the ui to stay responsive.