main: filter _darcs when assembling set of files in .domtool release_20181021-1
authorClinton Ebadi <clinton@unknownlamer.org>
Sun, 21 Oct 2018 22:44:58 +0000 (18:44 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Sun, 21 Oct 2018 22:44:58 +0000 (18:44 -0400)
At least one member is attempting to use darcs to track their config,
make domtool skip _darcs as if it were a dotfile.

src/main.sml

index 0a241fa..3079263 100644 (file)
@@ -118,6 +118,7 @@ fun check G fname =
 
 fun notTmp s =
     String.sub (s, 0) <> #"."
+    andalso s <> "_darcs"
     andalso CharVector.all (fn ch => Char.isAlphaNum ch orelse ch = #"." orelse ch = #"_" orelse ch = #"-") s
 
 fun setupUser () =