From 0fb3cfa595e1794c083f857fbd7d7a3054d4d12e Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Thu, 21 Jul 2022 22:48:59 -0600 Subject: [PATCH] Ignore .gitkeep files --- projects/cram/src/python/cram/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/cram/src/python/cram/common.py b/projects/cram/src/python/cram/common.py index ab13749..e970813 100644 --- a/projects/cram/src/python/cram/common.py +++ b/projects/cram/src/python/cram/common.py @@ -34,6 +34,9 @@ def stow(fs: Vfs, src_dir: Path, dest_dir: Path, skip=[]): if src in skip: continue + elif src.name.endswith(".gitkeep"): + continue + dest = dest_root / src.relative_to(src_root) if src.is_dir(): fs.mkdir(dest)