diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-03-13 10:19:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-13 10:56:50 -0700 |
commit | f63272a35e03a9895c468d1a698dabaa4c3d9273 (patch) | |
tree | cf93c1dbb47c637a016d857d73f2982000511b82 /t/t5515/refs.br-remote-explicit-octopus | |
parent | entry.c: convert checkout_entry to use strbuf (diff) | |
download | tgif-f63272a35e03a9895c468d1a698dabaa4c3d9273.tar.xz |
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 <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.br-remote-explicit-octopus')
0 files changed, 0 insertions, 0 deletions