author | Junio C Hamano <junkio@cox.net> | |
Thu, 3 May 2007 06:58:14 +0000 (23:58 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 3 May 2007 07:03:15 +0000 (00:03 -0700) | ||
commit | 50acc58914bf02217e55fdd739a844f2bfc45410 | |
tree | 18acecbbc68b6387bf99a7e72431a2acb3ea4688 | tree | snapshot |
parent | 6644d2f2c490f8a7081bd7e5da12c19400c8b6ef | commit | diff |
blame: use .mailmap unconditionally
There really isn't any point in turning off .mailmap. The
number of mailmap lookups are bounded by number of lines in the
target file, and the real blame processing is much more
expensive. If it turns out to be too costly, we should optimize
the mailmap lookup itself, instead of avoiding the call.
If the author information of commits of the project are
relatively clean, .mailmap would have only small number of
entries, and the overhead of looking it up will not be high. On
the other hand, if the author information is really screwed up
that a good .mailmap needs to be maintained to run shortlog,
giving uncleaned names in blame output is not helpful at all
either.
Signed-off-by: Junio C Hamano <junkio@cox.net>
There really isn't any point in turning off .mailmap. The
number of mailmap lookups are bounded by number of lines in the
target file, and the real blame processing is much more
expensive. If it turns out to be too costly, we should optimize
the mailmap lookup itself, instead of avoiding the call.
If the author information of commits of the project are
relatively clean, .mailmap would have only small number of
entries, and the overhead of looking it up will not be high. On
the other hand, if the author information is really screwed up
that a good .mailmap needs to be maintained to run shortlog,
giving uncleaned names in blame output is not helpful at all
either.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-blame.c | diff | blob | history |