This patch changes a bit the exclude regex definition and allow a check on the full path; then it also adds an ignore for .git and pycache directories, that can add spurious changes detections when the script is set to be recursive.
Detection of changes on a .git could be used to detect git activity: commit, fetch, merge or rebase; so it would not be entirely useless; however I never saw anyone using it for that; so I guess it could be made optionnaly available.
This patch also opens the way to declaring a full path ignore regex over the command line (bug #16) and, along with the PR #50, this could probably be added in about 3 loc.
This patch changes a bit the exclude regex definition and allow a check on the full path; then it also adds an ignore for .git and pycache directories, that can add spurious changes detections when the script is set to be recursive.
Detection of changes on a .git could be used to detect git activity: commit, fetch, merge or rebase; so it would not be entirely useless; however I never saw anyone using it for that; so I guess it could be made optionnaly available.
This patch also opens the way to declaring a full path ignore regex over the command line (bug #16) and, along with the PR #50, this could probably be added in about 3 loc.