Skip to content

Commit

Permalink
Rewrite post_clear_cache note
Browse files Browse the repository at this point in the history
So that it just describes the current situation, rather than
suggesting a future direction for IndexFile.

This is for gitpython-developers#1847.
  • Loading branch information
EliahKagan committed Feb 26, 2024
1 parent 7aacfd2 commit f4765fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git/index/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def post_clear_cache(func: Callable[..., _T]) -> Callable[..., _T]:
to allow it to be lazily reread later.
:note:
This decorator will not be required once all functions are implemented natively
which in fact is possible, but probably not feasible performance wise.
This decorators is required because not all functions related to
:class:`~git.index.base.IndexFile` are implemented natively.
"""

@wraps(func)
Expand Down

0 comments on commit f4765fd

Please sign in to comment.