From a38a0053d31d0285dd1e6ebe6efc28726a9656cc Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 16 Dec 2009 13:59:09 +0100 Subject: Added imports for standard locking file classes into the git module --- lib/git/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/git/index.py') diff --git a/lib/git/index.py b/lib/git/index.py index 334e84aa..df633ccd 100644 --- a/lib/git/index.py +++ b/lib/git/index.py @@ -21,7 +21,7 @@ import git.diff as diff from errors import GitCommandError from git.objects import Blob, Tree, Object, Commit -from git.utils import SHA1Writer, LazyMixin, ConcurrentWriteOperation, join_path_native, BlockingLockFile +from git.utils import SHA1Writer, LazyMixin, ConcurrentWriteOperation, join_path_native class CheckoutError( Exception ): @@ -914,6 +914,7 @@ class IndexFile(LazyMixin, diff.Diffable): entries_added = list() paths, entries = self._preprocess_add_items(items) + # HANDLE PATHS if paths: # to get suitable progress information, pipe paths to stdin -- cgit v1.2.1