Code

Avoid rescanning unchanged entries in search for copies.
authorAlexander Gavrilov <angavrilov@gmail.com>
Tue, 15 Jul 2008 22:05:20 +0000 (02:05 +0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jul 2008 23:38:32 +0000 (16:38 -0700)
commiteb46328e18688cdc3e0daaffc15c1bfc717c7527
tree8c4c2795b587771227a6de4bdca3758e6e4ba714
parent6c11a5fd465eb64301093de8826c38018b474bde
Avoid rescanning unchanged entries in search for copies.

Repeatedly comparing the same entry against the same set
of blobs in search for copies is quite pointless. This
huge waste of effort can be avoided using a flag in
the blame_entry structure.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c