From 55e9337d02f224020f3e610f24bac2baea11e2c4 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Mon, 26 Feb 2024 14:25:24 -0500 Subject: [PATCH] Rewrite post_clear_cache note So that it just describes the current situation, rather than suggesting a future direction for IndexFile. This is for #1847. --- git/index/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/index/util.py b/git/index/util.py index 8aedb7284..fa327d556 100644 --- a/git/index/util.py +++ b/git/index/util.py @@ -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)