diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2013-04-25 21:41:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-25 15:02:53 -0700 |
commit | 97a17e7721dd026dbc4213608d4c61a9351ae527 (patch) | |
tree | ae6e636d3706de19bdcc4e95f47e813134f00ebc /templates/hooks--applypatch-msg.sample | |
parent | pretty: simplify input line length calculation in pp_user_info() (diff) | |
download | tgif-97a17e7721dd026dbc4213608d4c61a9351ae527.tar.xz |
pretty: simplify output line length calculation in pp_user_info()
Keep namelen unchanged and don't use it to hold a value that we're not
interested in anyway -- we can use maillen and the constant part
directly instead. This simplifies the code slightly and prepares for
the next patch that makes use of the original value of namelen.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--applypatch-msg.sample')
0 files changed, 0 insertions, 0 deletions