Fix index.changes_from_tree against an empty tree.
authorkwatters <kwatters@tagged.com>
Thu, 6 Sep 2012 22:24:33 +0000 (15:24 -0700)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 25 May 2013 15:14:00 +0000 (16:14 +0100)
commitcb48f6cb8d5fa2aa9bea9928b6fde94dd1b5ba1b
tree4cccbc8c08531754f398298b5877d60f693c95a0
parent0f0a6f4ba32b48af8e30e508c6de3c011c7b68fa
Fix index.changes_from_tree against an empty tree.

index.changes_from_tree(object_store, None) should work. Modify that function
so the 'tree' argument can be None to signify an empty tree.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
dulwich/index.py
dulwich/tests/test_index.py