summaryrefslogtreecommitdiff
path: root/lib/git/index.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-11-26 11:49:58 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-11-26 12:09:23 +0100
commitaaeb986f3a09c1353bdf50ab23cca8c53c397831 (patch)
tree6f0575dab0a2cd04558d854cc62d99e1fe93bd0f /lib/git/index.py
parent9c92df685d6c600a0a3324dff08a4d00d829a4f5 (diff)
downloadgitpython-aaeb986f3a09c1353bdf50ab23cca8c53c397831.tar.gz
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
Diffstat (limited to 'lib/git/index.py')
-rw-r--r--lib/git/index.py6
1 files changed, 2 insertions, 4 deletions
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
"""