Git · ChangesList: line counts are optional, so binary files and folders show none
This commit is contained in:
3 files changed
+11
-10
No files matched your search
@@ -19,8 +19,7 @@ fn changed(path: &str, status: GitStatus, added: usize, removed: usize) -> Chang
|
||||
Changed {
|
||||
path: path.to_string().into(),
|
||||
status,
|
||||
added,
|
||||
removed,
|
||||
lines: Some((added, removed)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user