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
2use git_object::{bstr::BStr, tree};2use git_object::{bstr::BStr, tree};
3 3
4pub enum Change {4pub enum Change {
5 Addition { mode: tree::Mode, oid: ObjectId },5 Addition { mode: tree::EntryMode, oid: ObjectId },
6 Copy,6 Copy,
7 Deletion,7 Deletion,
8 Modification,8 Modification,
git-diff/src/visit/recorder.rs+1−1
@@ -9,7 +9,7 @@ use std::{ops::Deref, path::PathBuf}; · 8 unmodified lines
9#[derive(Clone, Debug, PartialEq, Eq)]9#[derive(Clone, Debug, PartialEq, Eq)]
10pub enum Change {10pub enum Change {
11 Addition {11 Addition {
12 mode: tree::Mode,12 mode: tree::EntryMode,
13 oid: ObjectId,13 oid: ObjectId,
14 path: PathBuf,14 path: PathBuf,
15 },15 },