author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 17 Dec 2011 10:15:48 +0000 (11:15 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 18 Dec 2011 02:21:37 +0000 (18:21 -0800) | ||
commit | 0041f09de6e62efc31c860487f04e8b08bce68c8 | |
tree | 85d855657c9a8a94ab39a82773362e5b1abd66f6 | tree | snapshot |
parent | ee228024933069b93ce23a1bd5eeb7ae12c792f2 | commit | 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>
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>
builtin/diff.c | diff | blob | history | |
combine-diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
submodule.c | diff | blob | history |