on empty new file the generic hunk is type added

This commit is contained in:
Kiril Videlov 2024-09-11 20:47:15 +02:00
parent 4700d5b2f1
commit 199129162d
No known key found for this signature in database
GPG Key ID: A4C733025427C471

View File

@ -78,7 +78,7 @@ impl GitHunk {
new_lines: 0,
diff_lines: Default::default(),
binary: false,
change_type: ChangeType::Modified,
change_type: ChangeType::Added,
}
}
}