From 0025a16f512b487fb18590f3de51987b9ad960f9 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Sun, 28 Nov 2010 23:57:29 +0000 Subject: [PATCH] dont do nullifications, not safe if file was already there --- lsyncd.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lsyncd.lua b/lsyncd.lua index 00cb4a4..04b39cd 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -267,7 +267,7 @@ local Combiner = (function() local combineNoMove = { Attrib = {Attrib=abso, Modify=repl, Create=repl, Delete=repl }, Modify = {Attrib=abso, Modify=abso, Create=repl, Delete=repl }, - Create = {Attrib=abso, Modify=abso, Create=abso, Delete=null }, + Create = {Attrib=abso, Modify=abso, Create=abso, Delete=repl }, Delete = {Attrib=abso, Modify=abso, Create=repl, Delete=abso }, } @@ -353,7 +353,7 @@ local Combiner = (function() d2.path2:byte(-1) == 47 and string.starts(d1.path, d2.path2) then log("Delay","Move:",d2.path,"->",d2.path2, - "splitted by ",d1.etype,":",d1.path) + " splits on ",d1.etype,":",d1.path) return "split" end return nil @@ -375,7 +375,7 @@ local Combiner = (function() d2.path2:byte(-1) == 47 and string.starts(d1.path2, d2.path2) then log("Delay","Move:",d2.path,"->",d1.path2, - "splitted by Move:",d1.path,"->",d1.path2) + " splits on Move:",d1.path,"->",d1.path2) return "split" end return nil