The comment was referring to previous versions of the code.
Unified · Split
| @@ -24,14 +24,12 @@ use crate::{types::BlamePathEntry, BlameEntry, Error, Options, Outcome, Statisti · 23 unmodified lines | ||
| 24 | 24 | /// - The first commit to be responsible for parts of `file_path`. |
| 25 | 25 | /// * `cache` |
| 26 | 26 | /// - Optionally, the commitgraph cache. |
| 27 | −/// * `file_path` | |
| 28 | −/// - A *slash-separated* worktree-relative path to the file to blame. | |
| 29 | −/// * `range` | |
| 30 | −/// - A 1-based inclusive range, in order to mirror `git`’s behaviour. `Some(20..40)` represents | |
| 31 | −/// 21 lines, spanning from line 20 up to and including line 40. This will be converted to | |
| 32 | −/// `19..40` internally as the algorithm uses 0-based ranges that are exclusive at the end. | |
| 33 | 27 | /// * `resource_cache` |
| 34 | 28 | /// - Used for diffing trees. |
| 29 | +/// * `file_path` | |
| 30 | +/// - A *slash-separated* worktree-relative path to the file to blame. | |
| 31 | +/// * `options` | |
| 32 | +/// - An instance of [`Options`]. | |
| 35 | 33 | /// |
| 36 | 34 | /// ## The algorithm |
| 37 | 35 | /// |