Browse files

Merge pull request #3 from mattwillsh/master

Ignore .gitmodules files
  • Loading branch information...
2 parents 79ce854 + 5dd65aa commit 2e35f5d9b15623bd80be92df49039e8c52985920 @philips philips committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ghar
View
2 bin/ghar
@@ -128,7 +128,7 @@ class Repo:
found_one = False
for f in l:
# global .gitconfig as a config is OK but not .git/ or .gitignore
- if re.match("^\.git(ignore)?$", f) or re.match("^\README.*$", f):
+ if re.match("^\.git(ignore|modules)?$", f) or re.match("^\README.*$", f):
self.ls.remove(f)
elif re.match("^\..+$", f):
found_one = True

0 comments on commit 2e35f5d

Please sign in to comment.