diff options
Diffstat (limited to 'memex/main.go')
| -rw-r--r-- | memex/main.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/memex/main.go b/memex/main.go index c62a203..849a456 100644 --- a/memex/main.go +++ b/memex/main.go @@ -455,8 +455,12 @@ func logCmd(args logArgs) { } new := w.Here() if old != nil && new != nil { - diff, _ := simpleDiff(old, new) - if diff != 0 { + diff, skip := simpleDiff(old, new) + /* if simpleDiff() says we should not + * skip the directory, it means that + * its address changed; we reflect + * that in the log */ + if diff != 0 || !skip { changed = true } } else { |
