Commit 880c97fc authored by GI's avatar GI

Ignore all .git files in local output

parent 114be4d8
......@@ -58,7 +58,7 @@ def cleanup_outpath( site ):
# Allow .git in root of local out, to compare changes in
# generated output
elif dev_env != 'local' or name != '.git':
elif dev_env != 'local' or not name.startswith('.git'):
# See if was generated from .md
if not p.exists( p.join( site.searchpath,
p.splitext(name)[0] + '.md' ) ):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment