Commit 7bc4ec0
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 <[email protected]>
Signed-off-by: Kirill Smelkov <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 0b707c3 commit 7bc4ec0
1 file changed
+2
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
766 | 766 | | |
767 | 767 | | |
768 | 768 | | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | 769 | | |
780 | 770 | | |
781 | 771 | | |
| |||
842 | 832 | | |
843 | 833 | | |
844 | 834 | | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | 835 | | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | 836 | | |
855 | 837 | | |
856 | | - | |
| 838 | + | |
| 839 | + | |
857 | 840 | | |
858 | 841 | | |
859 | 842 | | |
860 | 843 | | |
861 | 844 | | |
862 | 845 | | |
863 | 846 | | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | 847 | | |
870 | 848 | | |
871 | 849 | | |
| |||
0 commit comments