author | Jeff King <peff@peff.net> | |
Fri, 4 Jan 2008 09:16:14 +0000 (04:16 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 5 Jan 2008 00:22:01 +0000 (16:22 -0800) | ||
commit | e467193ff3f57171c5c3232b4ba3595970efbfb5 | |
tree | 3047e5fd1d47d12f3e3369fa66bfd82aa7dbe518 | tree | snapshot |
parent | 9a1805a8726ee41f25be2e0f2d5f38f1150d38e4 | commit | diff |
diff: load funcname patterns in "basic" config
The funcname patterns influence the "comment" on @@ lines of
the diff. They are safe to use with plumbing since they
don't fundamentally change the meaning of the diff in any
way.
Since all diff users call either diff_ui_config or
diff_basic_config, we can get rid of the lazy reading of the
config.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The funcname patterns influence the "comment" on @@ lines of
the diff. They are safe to use with plumbing since they
don't fundamentally change the meaning of the diff in any
way.
Since all diff users call either diff_ui_config or
diff_basic_config, we can get rid of the lazy reading of the
config.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | diff | blob | history |