For example, I tried the following when specifying files:
1 <mydir>\*.* all include
2 <mydir>\.git\*.* all exclude
and yet all the files in the .git folder were still processed.
How to exclude VCS folders like .GIT or .SVN?
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: How to exclude VCS folders like .GIT or .SVN?
Hi Greg,
Did the exclude lines come after the include lines?
Did the exclude lines come after the include lines?
-
- Posts: 988
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Re: How to exclude VCS folders like .GIT or .SVN?
This would be better done within the main filter rather than by the Files to Process UI.
Have a top level Restrict to filenames NOT matching
Note that this filter uses case-insensitive perl patterns, not DOS wildcards.
David
Have a top level Restrict to filenames NOT matching
Code: Select all
^.+\.GIT.+$
David
David