From 928ca1e9c39ffe3cef9e77cc09efc08dd7d47eee Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Tue, 7 Nov 2023 11:25:38 -0500 Subject: [PATCH] Minor formatting consistency improvement --- git/index/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git/index/base.py b/git/index/base.py index aa9bfe994..4fa0714d8 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -97,9 +97,8 @@ class IndexFile(LazyMixin, git_diff.Diffable, Serializable): - """ - An Index that can be manipulated using a native implementation in order to save git - command function calls wherever possible. + """An Index that can be manipulated using a native implementation in order to save + git command function calls wherever possible. This provides custom merging facilities allowing to merge without actually changing your index or your working tree. This way you can perform own test-merges based @@ -380,6 +379,7 @@ def from_tree(cls, repo: "Repo", *treeish: Treeish, **kwargs: Any) -> "IndexFile # END index merge handling # UTILITIES + @unbare_repo def _iter_expand_paths(self: "IndexFile", paths: Sequence[PathLike]) -> Iterator[PathLike]: """Expand the directories in list of paths to the corresponding paths accordingly.