diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-02 22:40:52 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-02 22:40:52 +0200 |
commit | 8b86f9b399a8f5af792a04025fdeefc02883f3e5 (patch) | |
tree | f10c0bc2e8a95676e1062d2b86676eb0a5294ce1 /lib/git/index.py | |
parent | 282018b79cc8df078381097cb3aeb29ff56e83c6 (diff) | |
download | gitpython-8b86f9b399a8f5af792a04025fdeefc02883f3e5.tar.gz |
initial version of loose object writing and simple cached object lookup appears to be working
Diffstat (limited to 'lib/git/index.py')
-rw-r--r-- | lib/git/index.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/index.py b/lib/git/index.py index 8ccc3fe3..36428315 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 +from git.utils import IndexFileSHA1Writer, LazyMixin, ConcurrentWriteOperation, join_path_native class CheckoutError( Exception ): @@ -461,7 +461,7 @@ class IndexFile(LazyMixin, diff.Diffable): write_op = ConcurrentWriteOperation(file_path or self._file_path) stream = write_op._begin_writing() - stream = SHA1Writer(stream) + stream = IndexFileSHA1Writer(stream) # header stream.write("DIRC") |