[READ-ONLY] Mirror of https://github.com/SantaClaas/gigit. git client
gigit NOTICE.md

Notices and attribution #

gigit is licensed under the MIT licence. This file records the work it builds on and the terms that work carries.

Commit graph layout #

The approach to laying out the commit graph — assigning each commit a row by a topological order that prefers newer commits, then assigning columns by keeping a list of active branches and letting the first parent continue its child's column — follows the algorithms described in:

Pierre Vigier, Commit graph drawing algorithms (2019) https://pvigier.github.io/2019/05/06/commit-graph-drawing-algorithms.html

The implementation in crates/gigit-git/src/graph was written from that article's description. It is not a port, and it differs from the article in two ways worth naming:

  • The row order is computed lazily so rows can be streamed before the whole history has been visited, rather than sorting the complete graph up front.
  • The column assignment does not compute the article's set of forbidden columns. That refinement reduces edge crossings; without it the graph is still correct, just occasionally busier than it needs to be. Tracked in https://github.com/SantaClaas/gigit/issues/1.

The article's reference implementation, gitamine (https://github.com/pvigier/gitamine), is licensed under the GPL-3.0. gigit is MIT licensed, so no gitamine source code has been read, copied, or adapted. It is credited here as the prior art that made the article's ideas concrete.

Dependencies #

Rust and JavaScript dependencies carry their own licences; see Cargo.toml, package.json, and their respective lockfiles. Notably: