fix: Prevent false positives for no-op detection in index
This commit is contained in:
@@ -298,7 +298,7 @@ func indexHeader(
|
||||
case records.STFSRecordActionUpdate:
|
||||
moveAfterEdits := false
|
||||
oldName := hdr.Name
|
||||
if _, ok := hdr.PAXRecords[records.STFSRecordReplacesName]; ok && oldName != hdr.Name {
|
||||
if _, ok := hdr.PAXRecords[records.STFSRecordReplacesName]; ok {
|
||||
moveAfterEdits = true
|
||||
oldName = hdr.PAXRecords[records.STFSRecordReplacesName]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user