summaryrefslogtreecommitdiff
path: root/builtin/diff-index.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-08-26 10:28:03 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-26 09:21:01 -0700
commita281639262238a315843a629a7686cff453d6fac (patch)
tree5652b33811c86f727ee6b20e44a24494448868e3 /builtin/diff-index.c
parentload_subtree(): remove unnecessary conditional (diff)
downloadtgif-a281639262238a315843a629a7686cff453d6fac.tar.xz
load_subtree(): reduce the scope of some local variables
Declare the variables inside the loop, to make it more obvious that their values are not carried across loop iterations. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-index.c')
0 files changed, 0 insertions, 0 deletions