History

refactor

Sebastian Thiel committed 5 years ago

Commit a4d5f991 parent 11018e18 files · +26 −26Browse files

Showing the changes to git-diff/src (2 of 8 files). Show all

Unified · Split

2 files
  1. git-diff/src/visit/record.rs +1 −1
  2. git-diff/src/visit/recorder.rs +1 −1
git-diff/src/visit/record.rs+1−1
@@ -2,7 +2,7 @@ use git_hash::ObjectId; · 1 unmodified line
22 use git_object::{bstr::BStr, tree};
33
44 pub enum Change {
5− Addition { mode: tree::Mode, oid: ObjectId },
5+ Addition { mode: tree::EntryMode, oid: ObjectId },
66 Copy,
77 Deletion,
88 Modification,
git-diff/src/visit/recorder.rs+1−1
@@ -9,7 +9,7 @@ use std::{ops::Deref, path::PathBuf}; · 8 unmodified lines
99 #[derive(Clone, Debug, PartialEq, Eq)]
1010 pub enum Change {
1111 Addition {
12− mode: tree::Mode,
12+ mode: tree::EntryMode,
1313 oid: ObjectId,
1414 path: PathBuf,
1515 },