aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2013-04-25 21:41:57 +0200
committerJunio C Hamano <gitster@pobox.com>2013-04-25 15:02:53 -0700
commit97a17e7721dd026dbc4213608d4c61a9351ae527 (patch)
treeae6e636d3706de19bdcc4e95f47e813134f00ebc /cache.h
parent30e77bcb5008d1947c721fb084e21eeaa591c45e (diff)
downloadgit-97a17e7721dd026dbc4213608d4c61a9351ae527.tar.gz
git-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 'cache.h')
0 files changed, 0 insertions, 0 deletions