checkout_entry(): use the strbuf throughout the function
authorMichael Haggerty <redacted>
Thu, 13 Mar 2014 09:19:07 +0000 (10:19 +0100)
committerJunio C Hamano <redacted>
Thu, 13 Mar 2014 17:56:50 +0000 (10:56 -0700)
commitf63272a35e03a9895c468d1a698dabaa4c3d9273
treecf93c1dbb47c637a016d857d73f2982000511b82
parentfd356f6aa8bb75ebef56fbc61caf7e02517fa6d3
checkout_entry(): use the strbuf throughout the function

There is no need to break out the "buf" and "len" members into
separate temporary variables.  Rename path_buf to path and use
path.buf and path.len directly.  This makes it easier to reason about
the data flow in the function.

Signed-off-by: Michael Haggerty <redacted>
Signed-off-by: Junio C Hamano <redacted>
entry.c
git clone https://git.99rst.org/PROJECT