summaryrefslogtreecommitdiff
path: root/t/t4101/diff.3-2
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2013-04-25 21:41:57 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-25 15:02:53 -0700
commit97a17e7721dd026dbc4213608d4c61a9351ae527 (patch)
treeae6e636d3706de19bdcc4e95f47e813134f00ebc /t/t4101/diff.3-2
parentpretty: simplify input line length calculation in pp_user_info() (diff)
downloadtgif-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 't/t4101/diff.3-2')
0 files changed, 0 insertions, 0 deletions