diff options
Diffstat (limited to 'git/index')
-rw-r--r-- | git/index/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/base.py b/git/index/base.py index d813e6c1..88410e20 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -630,7 +630,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): Function with signature (string) func(BaseIndexEntry) function returning a path for each passed entry which is the path to be actually recorded for the object created from entry.path. This allows you to write an index which - is not identical to the layout of the actual files on your hard-dist. + is not identical to the layout of the actual files on your hard-disk. If not None and ``items`` contain plain paths, these paths will be converted to Entries beforehand and passed to the path_rewriter. Please note that entry.path is relative to the git repository. |