From 460cafb81f86361536077b3b6432237c6ae3d698 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 12 Jan 2011 16:33:36 +0100 Subject: sleep ui hack fix: removed platform.system() to use sys.platform instead, as platform.system makes a system call itself --- git/index/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/index/base.py') 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. -- cgit v1.2.1