lib: Do not set ModifiedBy on meta only changes (#7345)
This commit is contained in:
@@ -635,17 +635,17 @@ func TestLocalFlagBits(t *testing.T) {
|
||||
t.Error("file should have no weird bits set by default")
|
||||
}
|
||||
|
||||
f.SetIgnored(42)
|
||||
f.SetIgnored()
|
||||
if !f.IsIgnored() || f.MustRescan() || !f.IsInvalid() {
|
||||
t.Error("file should be ignored and invalid")
|
||||
}
|
||||
|
||||
f.SetMustRescan(42)
|
||||
f.SetMustRescan()
|
||||
if f.IsIgnored() || !f.MustRescan() || !f.IsInvalid() {
|
||||
t.Error("file should be must-rescan and invalid")
|
||||
}
|
||||
|
||||
f.SetUnsupported(42)
|
||||
f.SetUnsupported()
|
||||
if f.IsIgnored() || f.MustRescan() || !f.IsInvalid() {
|
||||
t.Error("file should be invalid")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user