Ignore .gitkeep files
This commit is contained in:
parent
58e63924d9
commit
176d8129d6
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:
|
||||
continue
|
||||
|
||||
elif src.name.endswith(".gitkeep"):
|
||||
continue
|
||||
|
||||
dest = dest_root / src.relative_to(src_root)
|
||||
if src.is_dir():
|
||||
fs.mkdir(dest)
|
||||
|
|
Loading…
Reference in a new issue