1
0
mirror of https://github.com/git/git.git synced 2024-09-30 13:42:06 +02:00
git/contrib/contacts
Eric Sunshine 9ae9ca1f95 contacts: validate hunk length earlier
Rather than calling get_blame() with a zero-length hunk only to have it
rejected immediately, perform hunk-length validation earlier in order to
avoid calling get_blame() unnecessarily.

This is a preparatory step to simplify later patches which reduce the
number of git-blame invocations by collecting together all lines to
blame within a single file at a particular revision. By validating the
blame range early, the subsequent patch can more easily avoid adding
empty ranges at collection time.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-08-13 09:08:58 -07:00
..
git-contacts contacts: validate hunk length earlier 2013-08-13 09:08:58 -07:00
git-contacts.txt contrib: contacts: add documentation 2013-07-21 15:15:20 -07:00