author | Alexander Gavrilov <angavrilov@gmail.com> | |
Tue, 15 Jul 2008 22:05:20 +0000 (02:05 +0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Jul 2008 23:38:32 +0000 (16:38 -0700) | ||
commit | eb46328e18688cdc3e0daaffc15c1bfc717c7527 | |
tree | 8c4c2795b587771227a6de4bdca3758e6e4ba714 | tree | snapshot |
parent | 6c11a5fd465eb64301093de8826c38018b474bde | commit | diff |
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>
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 | diff | blob | history |