Merge pull request #2018 from koyuki7w/patch-1 · gitpython-developers/GitPython@0f18290

@@ -508,7 +508,7 @@ def iter_blobs(

508508509509

:param predicate:

510510

Function(t) returning ``True`` if tuple(stage, Blob) should be yielded by

511-

the iterator. A default filter, the `~git.index.typ.BlobFilter`, allows you

511+

the iterator. A default filter, the :class:`~git.index.typ.BlobFilter`, allows you

512512

to yield blobs only if they match a given list of paths.

513513

"""

514514

for entry in self.entries.values():

@@ -770,7 +770,7 @@ def add(

770770

- path string

771771772772

Strings denote a relative or absolute path into the repository pointing

773-

to an existing file, e.g., ``CHANGES``, `lib/myfile.ext``,

773+

to an existing file, e.g., ``CHANGES``, ``lib/myfile.ext``,

774774

``/home/gitrepo/lib/myfile.ext``.

775775776776

Absolute paths must start with working tree directory of this index's

@@ -789,7 +789,7 @@ def add(

789789790790

They are added at stage 0.

791791792-

- :class:~`git.objects.blob.Blob` or

792+

- :class:`~git.objects.blob.Blob` or

793793

:class:`~git.objects.submodule.base.Submodule` object

794794795795

Blobs are added as they are assuming a valid mode is set.

@@ -815,7 +815,7 @@ def add(

815815816816

- :class:`~git.index.typ.BaseIndexEntry` or type

817817818-

Handling equals the one of :class:~`git.objects.blob.Blob` objects, but

818+

Handling equals the one of :class:`~git.objects.blob.Blob` objects, but

819819

the stage may be explicitly set. Please note that Index Entries require

820820

binary sha's.

821821

@@ -998,7 +998,7 @@ def remove(

998998999999

The path string may include globs, such as ``*.c``.

100010001001-

- :class:~`git.objects.blob.Blob` object

1001+

- :class:`~git.objects.blob.Blob` object

1002100210031003

Only the path portion is used in this case.

10041004