From: Kirill Smelkov Date: Wed, 5 Feb 2014 16:57:11 +0000 (+0400) Subject: line-log: convert to using diff_tree_sha1() X-Git-Tag: v2.0.0-rc0~154^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7bc4ec01dde22be0156d64ef77db7364a11cb859?ds=sidebyside;hp=7bc4ec01dde22be0156d64ef77db7364a11cb859 line-log: convert to using diff_tree_sha1() Since diff_tree_sha1() can now accept empty trees via NULL sha1, we could just call it without manually reading trees into tree_desc and duplicating code. Cc: Thomas Rast Signed-off-by: Kirill Smelkov Signed-off-by: Junio C Hamano ---