File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -365,8 +365,9 @@ Check out the [performance discussion][gix-diff-performance] as well.
365365
366366* [ ] commit-annotations for a single file
367367 - [ ] progress
368- - [ ] interruptability
368+ - [ ] interruptibility
369369 - [ ] streaming
370+ - [ ] support for worktree changes (creates virtual commit on top of ` HEAD ` )
370371* [x] API documentation
371372 * [ ] Examples
372373
Original file line number Diff line number Diff line change 11//! A crate to implement an algorithm to annotate lines in tracked files with the commits that changed them.
2+ //!
3+ //! ### Terminology
4+ //!
5+ //! * **Original File**
6+ //! - The file as it exists in `HEAD`.
7+ //! - the initial state with all lines that we need to associate with a *Blamed File*.
8+ //! * **Blamed File**
9+ //! - A file at a version (i.e. commit) that introduces hunks into the final 'image'.
10+ //! * **Suspects**
11+ //! - The versions of the files that can contain hunks that we could use in the final 'image'
12+ //! - multiple at the same time as the commit-graph may split up.
13+ //! - turns into *Blamed File* once we have found an association into the *Original File*.
14+ //! - every [`UnblamedHunk`] can have multiple suspects of which we find the best match.
215#![ deny( rust_2018_idioms) ]
316#![ forbid( unsafe_code) ]
417
@@ -14,6 +27,7 @@ use gix_object::FindExt;
1427
1528#[ derive( Clone , Copy , Debug , PartialEq ) ]
1629pub enum Offset {
30+ /// The amount of lines to add to the original range in
1731 Added ( u32 ) ,
1832 Deleted ( u32 ) ,
1933}
You can’t perform that action at this time.
0 commit comments