Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d0318a6

Browse filesBrowse files
authored
Merge pull request #2115 from mvanhorn/docs/gitdb-performance-warning
docs: warn about GitDB performance with large commits
2 parents ddca0b3 + 859ea95 commit d0318a6
Copy full SHA for d0318a6

1 file changed

+6Lines changed: 6 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/source/tutorial.rst‎

Copy file name to clipboardExpand all lines: doc/source/tutorial.rst
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,12 @@ The GitDB is a pure-python implementation of the git object database. It is the
513513

514514
repo = Repo("path/to/repo", odbt=GitDB)
515515

516+
.. warning::
517+
``GitDB`` may fail or become extremely slow when traversing trees in
518+
repositories with very large commits (thousands of changed files in a
519+
single commit). If you encounter ``RecursionError`` or excessive
520+
slowness during tree traversal, switch to ``GitCmdObjectDB`` instead.
521+
516522

517523
GitCmdObjectDB
518524
==============

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.