From e40b5f075bdb9d6c2992a0a1cf05f7f6f4f101a3 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 25 Nov 2009 15:14:10 +0100 Subject: index.write_tree: fixed bug that would cause the written tree not to contain any of our changes entries as it would in fact write a possibly cached tree stored in our extension data.It was solved by simply ignoring that extension data when writing the index for tree creation. A test was added for this as well --- lib/git/diff.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/git/diff.py') diff --git a/lib/git/diff.py b/lib/git/diff.py index 3a94d0c2..dfeb7064 100644 --- a/lib/git/diff.py +++ b/lib/git/diff.py @@ -39,6 +39,7 @@ class Diffable(object): ``other`` Is the item to compare us with. If None, we will be compared to the working tree. + If Treeish, it will be compared against the respective tree If Index ( type ), it will be compared against the index. It defaults to Index to assure the method will not by-default fail on bare repositories. -- cgit v1.2.1