} else if self.short {
let mut changes = Vec::new();
for ch in change.changes.iter() {
changes.push(match ch {
Record::FileMove { path, .. } =>
format!("MV {}\n", path),
Record::FileDel { path, .. } =>
format!("D {}\n", path),
Record::FileUndel { path, .. } =>
format!("UD {}\n", path),
Record::FileAdd { path, .. } =>
format!("A {}", path),
Record::SolveNameConflict { path, .. } =>
format!("SC {}", path),
Record::UnsolveNameConflict { path, .. } =>
format!("UC {}", path),
Record::Edit { local: Local { path, .. }, .. } =>
format!("M {}", path),
Record::Replacement { local: Local { path, .. }, .. } =>
format!("R {}", path),
Record::SolveOrderConflict { local: Local { path, .. }, .. } =>
format!("SC {}", path),
Record::UnsolveOrderConflict { local: Local { path, .. }, .. } =>
format!("UC {}", path),
Record::ResurrectZombies { local: Local { path, .. }, .. } =>
format!("RZ {}", path),
});
}
changes.sort_unstable();
changes.dedup();
for ch in changes { println!("{}", ch); }