Skip to content

Commit f4765fd

Browse files
committed
Rewrite post_clear_cache note
So that it just describes the current situation, rather than suggesting a future direction for IndexFile. This is for gitpython-developers#1847.
1 parent 7aacfd2 commit f4765fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: git/index/util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def post_clear_cache(func: Callable[..., _T]) -> Callable[..., _T]:
7070
to allow it to be lazily reread later.
7171
7272
:note:
73-
This decorator will not be required once all functions are implemented natively
74-
which in fact is possible, but probably not feasible performance wise.
73+
This decorators is required because not all functions related to
74+
:class:`~git.index.base.IndexFile` are implemented natively.
7575
"""
7676

7777
@wraps(func)

0 commit comments

Comments
 (0)