* clear xattr on reverted files
This commit is contained in:
parent
2b0aff8038
commit
2fa6be847e
|
@ -10,6 +10,9 @@ def revert(from, to) {
|
|||
|
||||
println "[$action] Revert [$from] to [$to]"
|
||||
action.rename(from, to)
|
||||
|
||||
// reset extended attributes
|
||||
tryQuietly{ to.xattr.clear() }
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue