commit:     59b60e53020395d1eb4c9542ffb63561bbb87513
Author:     Michael Everitt <m.j.everitt <AT> iee <DOT> org>
AuthorDate: Mon May 14 14:16:41 2018 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Oct  1 16:18:11 2018 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=59b60e53

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'] + '/'],

Reply via email to