pretty: simplify output line length calculation in pp_user_info()
commit97a17e7721dd026dbc4213608d4c61a9351ae527
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 25 Apr 2013 19:41:57 +0000 (25 21:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Apr 2013 22:02:53 +0000 (25 15:02 -0700)
treeae6e636d3706de19bdcc4e95f47e813134f00ebc
parent30e77bcb5008d1947c721fb084e21eeaa591c45e
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>
pretty.c