Skip to content

Commit ad06196

Browse files
committed
Add todo! for more than one parent
1 parent 40f9045 commit ad06196

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gix-blame/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,10 @@ pub fn blame_file(worktree_path: PathBuf, file_path: &BStr) -> Vec<BlameEntry> {
749749
break;
750750
}
751751

752+
if parent_ids.len() > 1 {
753+
todo!("passing blame to more than one parent is not implemented yet");
754+
}
755+
752756
let last_parent_id: ObjectId = *parent_ids.last().unwrap();
753757

754758
let mut buffer = Vec::new();

0 commit comments

Comments
 (0)