utils.py
2.65 KB
-
Don't delete *.pyc fils in the .git directory · 72c09910
If you have a branch named "remove-all-.pyc", the original code would clobber it inside the .git directory, because branches become files with the same name. This prevents find from looking in .git, saving your precious oddly named branches.
Ned Batchelder committed