diff options
| author | Simeon Simeonov | 2018-10-17 14:34:39 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2018-10-17 14:34:39 +0200 |
| commit | 5aa1a9a1051e4eba031b877a0aeea8a4afb93e42 (patch) | |
| tree | 6f1e69a9d40e16894ecc847afc33782b684dfbd2 | |
| parent | d0588352dacbb62084605ce67b863b9f12f90920 (diff) | |
| parent | 15f1a9fe61626c2a8c8682300c620572d7c08a61 (diff) | |
Merge branch 'master' of pichove.org:pygitchecker
| -rwxr-xr-x | pygitchecker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pygitchecker.py b/pygitchecker.py index aa1cee8..8dea428 100755 --- a/pygitchecker.py +++ b/pygitchecker.py | |||
| @@ -71,6 +71,8 @@ def fetch_git_repos(abspath): | |||
| 71 | """ | 71 | """ |
| 72 | repo_list = list() | 72 | repo_list = list() |
| 73 | for root, dirs, files in os.walk(abspath): | 73 | for root, dirs, files in os.walk(abspath): |
| 74 | if '/.git' in root: | ||
| 75 | continue | ||
| 74 | if '.git' in dirs: | 76 | if '.git' in dirs: |
| 75 | try: | 77 | try: |
| 76 | pygit2.Repository(root) | 78 | pygit2.Repository(root) |
