diff options
-rw-r--r-- | lesana/collection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lesana/collection.py b/lesana/collection.py index 6c86436..5877a7d 100644 --- a/lesana/collection.py +++ b/lesana/collection.py @@ -275,7 +275,7 @@ class Collection(object): ) return False try: - repo = git.Repo(self.basedir) + repo = git.Repo(self.basedir, search_parent_directories=True) except git.exc.InvalidGitRepositoryError as e: logging.warning( "Could not find a git repository in {}".format( |