git @ Cat's Eye Technologies tree / a5382be
Add .git to the list of default excludes. Chris Pressey 1 year, 1 day ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
5151
5252 The `--exclude` option sets the list of directory names to not descend
5353 into (a comma-separated list). It defaults to `venv`, `node_modules`,
54 and `__pycache__`.
54 `__pycache__`, and `.git`.
5555
5656 Related work
5757 ------------
5858 def main(args):
5959 filename_format = 'block'
6060 maxwidth = 75
61 excludes = ('venv', 'node_modules', '__pycache__')
61 excludes = ('venv', 'node_modules', '__pycache__', '.git')
6262 all_files = False
6363 try:
6464 import subprocess