summaryrefslogtreecommitdiff
path: root/git-bisect.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-03-13 10:19:07 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-13 10:56:50 -0700
commitf63272a35e03a9895c468d1a698dabaa4c3d9273 (patch)
treecf93c1dbb47c637a016d857d73f2982000511b82 /git-bisect.sh
parententry.c: convert checkout_entry to use strbuf (diff)
downloadtgif-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 'git-bisect.sh')
0 files changed, 0 insertions, 0 deletions