Ignore .gitkeep files
This commit is contained in:
parent
5d132514c1
commit
0fb3cfa595
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ def stow(fs: Vfs, src_dir: Path, dest_dir: Path, skip=[]):
|
||||||
if src in skip:
|
if src in skip:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
elif src.name.endswith(".gitkeep"):
|
||||||
|
continue
|
||||||
|
|
||||||
dest = dest_root / src.relative_to(src_root)
|
dest = dest_root / src.relative_to(src_root)
|
||||||
if src.is_dir():
|
if src.is_dir():
|
||||||
fs.mkdir(dest)
|
fs.mkdir(dest)
|
||||||
|
|
Loading…
Reference in a new issue