commit | 0041f09de6e62efc31c860487f04e8b08bce68c8 | [log] [tgz] |
---|---|---|
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | Sat Dec 17 11:15:48 2011 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Dec 17 18:21:37 2011 -0800 |
tree | 85d855657c9a8a94ab39a82773362e5b1abd66f6 | |
parent | ee228024933069b93ce23a1bd5eeb7ae12c792f2 [diff] |
use struct sha1_array in diff_tree_combined() Maintaining an array of hashes is easier using sha1_array than open-coding it. This patch also fixes a leak of the SHA1 array in diff_tree_combined_merge(). Signed-off-by: René Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>