branch: clean up repeated strlen
commit66648ad7fed840adef0343a1e0bf5188d32f5569
authorJeff King <peff@peff.net>
Thu, 19 Feb 2009 03:35:45 +0000 (18 22:35 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Feb 2009 03:59:16 +0000 (18 19:59 -0800)
tree8a09429c81d19c72298555277718307fe91b43bf
parent45e2b6140147d7a8b2cd68399e4d52d5d8d7b5be
branch: clean up repeated strlen

Commit 45e2b61 fixed the initialization of a "len" struct
parameter via strlen. We can use that to clean up what is
now 3 strlens in a 6-line sequence.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c