summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/remote.py b/git/remote.py
index 20b5a551..7d6c0f6f 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -38,7 +38,7 @@ from .refs import (
from typing import Any, Optional, Set, TYPE_CHECKING, Union
-from git.types import PathLike
+from git.types import PathLike, Literal
if TYPE_CHECKING:
from git.repo.base import Repo
@@ -232,7 +232,7 @@ class FetchInfo(object):
}
@classmethod
- def refresh(cls) -> bool:
+ def refresh(cls) -> Literal[True]:
"""This gets called by the refresh function (see the top level
__init__).
"""