author | Andy Parkins <andyparkins@gmail.com> | |
Thu, 23 Nov 2006 10:05:17 +0000 (10:05 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 24 Nov 2006 06:51:41 +0000 (22:51 -0800) | ||
commit | f73da29fa2be2f4bbda86e006b743b8121bdbf19 | |
tree | 47544360e4616733dc3f6b74e16859ce87d4d806 | tree | snapshot |
parent | 4769489a412fb0decbd73ce59a6756985d0d6bc4 | commit | diff |
Increase length of function name buffer
In xemit.c:xdl_emit_diff() a buffer for showing the function name as
commentary is allocated; this buffer was 40 characters. This is a bit
small; particularly for C++ function names where there is often an
identical prefix (like void LongNamespace::LongClassName) on multiple
functions, which makes the context the same everywhere. In other words
the context is useless. This patch increases that buffer to 80
characters - which may still not be enough, but is better
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In xemit.c:xdl_emit_diff() a buffer for showing the function name as
commentary is allocated; this buffer was 40 characters. This is a bit
small; particularly for C++ function names where there is often an
identical prefix (like void LongNamespace::LongClassName) on multiple
functions, which makes the context the same everywhere. In other words
the context is useless. This patch increases that buffer to 80
characters - which may still not be enough, but is better
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
xdiff/xemit.c | diff | blob | history |