From 8379e1d7af3a6d0224288a19627394015d837271 Mon Sep 17 00:00:00 2001 From: Michael Everitt Date: Mon, 14 May 2018 15:16:41 +0100 Subject: [PATCH] Add .git folder to snapshot rsync excludes --- catalyst/targets/snapshot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/catalyst/targets/snapshot.py b/catalyst/targets/snapshot.py index 726bc512..607e718e 100644 --- a/catalyst/targets/snapshot.py +++ b/catalyst/targets/snapshot.py @@ -59,6 +59,7 @@ class snapshot(TargetBase, GenBase): '--exclude=/local/', '--exclude=CVS/', '--exclude=.svn', + '--exclude=.git/', '--filter=H_**/files/digest-*', self.settings['portdir'] + '/', mytmp + '/' + self.settings['repo_name'] + '/'], -- 2.13.0