| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2aa053e commit 15d50de
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -80,9 +80,9 @@ | |||
| 80 | 80 | This union comprises **more** classes than those whose instances really represent | |
| 81 | 81 | commit-ish git objects: | |
| 82 | 82 | ||
| 83 | - * A :class:`~git.objects.commit.Commit` is of course always | ||
| 84 | - commit-ish, and a :class:`~git.objects.tag.TagObject` is commit-ish if, when | ||
| 85 | - peeled (recursively followed), a :class:`~git.objects.commit.Commit` is obtained. | ||
| 83 | + * A :class:`~git.objects.commit.Commit` is of course always commit-ish, and a | ||
| 84 | + :class:`~git.objects.tag.TagObject` is commit-ish if, when peeled (recursively | ||
| 85 | + followed), a :class:`~git.objects.commit.Commit` is obtained. | ||
| 86 | 86 | * However, :class:`~git.objects.blob.Blob` and :class:`~git.objects.tree.Tree` are | |
| 87 | 87 | also included, and they represent git objects that are never really commit-ish. | |
| 88 | 88 | ||
@@ -92,9 +92,10 @@ | |||
| 92 | 92 | """ | |
| 93 | 93 | ||
| 94 | 94 | Lit_commit_ish = Literal["commit", "tag", "blob", "tree"] | |
| 95 | - """Literal strings identifying concrete :class:`~git.objects.base.Object` subtypes. | ||
| 95 | + """Literal strings identifying concrete :class:`~git.objects.base.Object` subtypes | ||
| 96 | + representing kinds of git objects. | ||
| 96 | 97 | ||
| 97 | - See :class:`Object.type <git.objects.base.Object.type>`. | ||
| 98 | + See the :class:`Object.type <git.objects.base.Object.type>` attribute. | ||
| 98 | 99 | ||
| 99 | 100 | :note: | |
| 100 | 101 | See also :class:`Commit_ish`, a union of the the :class:`~git.objects.base.Object` | |
@@ -110,7 +111,7 @@ | |||
| 110 | 111 | Lit_config_levels = Literal["system", "global", "user", "repository"] | |
| 111 | 112 | """Type of literal strings naming git configuration levels. | |
| 112 | 113 | ||
| 113 | - Such a string identifies what level, or scope, a git configuration variables is in. | ||
| 114 | + Such a string identifies what level, or scope, a git configuration variable is in. | ||
| 114 | 115 | """ | |
| 115 | 116 | ||
| 116 | 117 | ConfigLevels_Tup = Tuple[Literal["system"], Literal["user"], Literal["global"], Literal["repository"]] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments