diff --git a/cmd/gomtree/main.go b/cmd/gomtree/main.go index e66b425..af1380f 100644 --- a/cmd/gomtree/main.go +++ b/cmd/gomtree/main.go @@ -291,6 +291,10 @@ var formats = map[string]func([]mtree.InodeDelta) string{ for _, delta := range d { if delta.Type() == mtree.Modified { fmt.Fprintln(&buffer, delta) + } else if delta.Type() == mtree.Missing { + fmt.Fprintln(&buffer, delta) + } else if delta.Type() == mtree.Extra { + fmt.Fprintln(&buffer, delta) } } return buffer.String()