Skip to content

Commit 817b2ce

Browse files
committed
Add more context to comment
1 parent 381b673 commit 817b2ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gix-blame/tests/blame.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,9 +736,11 @@ mod baseline {
736736
/// blamed file as well as in the original file that introduced them. This follows `git`’s
737737
/// behaviour. `libgit2`, as of 2024-09-19, only checks whether two entries are adjacent in the
738738
/// blamed file which can result in different blames in certain edge cases. See [the commit][1]
739-
/// that introduced the extra check into `git` for context.
739+
/// that introduced the extra check into `git` for context. See [this commit][2] for a way to test
740+
/// for this behaviour in `git`.
740741
///
741742
/// [1]: https://github.com/git/git/commit/c2ebaa27d63bfb7c50cbbdaba90aee4efdd45d0a
743+
/// [2]: https://github.com/git/git/commit/6dbf0c7bebd1c71c44d786ebac0f2b3f226a0131
742744
fn coalesce_blame_entries(lines_blamed: Vec<BlameEntry>) -> Vec<BlameEntry> {
743745
// TODO
744746
// It’s possible this could better be done on insertion into `lines_blamed`.

0 commit comments

Comments
 (0)