From aaeb986f3a09c1353bdf50ab23cca8c53c397831 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 26 Nov 2009 11:49:58 +0100 Subject: SymbolicReferences can now be at any path within the repository, there is no restriction anymore. Added a test to assure the git commands can handle it --- lib/git/index.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/git/index.py') diff --git a/lib/git/index.py b/lib/git/index.py index 61307bb8..f4aa26c7 100644 --- a/lib/git/index.py +++ b/lib/git/index.py @@ -1039,10 +1039,6 @@ class IndexFile(LazyMixin, diff.Diffable): If None, all paths in the index will be checked out. Otherwise an iterable of relative or absolute paths or a single path pointing to files or directories in the index is expected. - The command will raise of files or directories do not exist in the index - ( as opposed to the original git command who ignores them ). Additionally - this command allows to checkout directories which is an extension to git-update-index. - ``force`` If True, existing files will be overwritten even if they contain local modifications. @@ -1064,6 +1060,8 @@ class IndexFile(LazyMixin, diff.Diffable): Raise CheckoutError If at least one file failed to be checked out. This is a summary, hence it will checkout as many files as it can anyway. + If one of files or directories do not exist in the index + ( as opposed to the original git command who ignores them ). Raise GitCommandError if error lines could not be parsed - this truly is an exceptional state """ -- cgit v1.2.1