diff --git a/src/core/utils.py b/src/core/utils.py
index e69123e006a352715a7ed5c3948f03bdb545808d..bb36fbf413911b02fa93489cc0dc813956c2688c 100644
--- a/src/core/utils.py
+++ b/src/core/utils.py
@@ -331,7 +331,7 @@ class GitRepo:
         :return: a dictionary mapping filenames to that file's text content
         """
         documents = {}
-        for file in self.base_path.glob(glob):
+        for file in self.base_path.rglob(glob):
             # we are only interested in actual files
             if not file.is_file():
                 continue