summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-17 16:03:32 -0700
committerJunio C Hamano <gitster@pobox.com>2013-09-17 21:50:02 -0700
commita4d695de0dbaf41505cb6db44c6bb8290980398e (patch)
tree811d32fad4a65931594a2f23250e14c33f2f4874 /unpack-trees.c
parenta4dfee06806df64b7a44866f67f15b54567ec722 (diff)
downloadgit-a4d695de0dbaf41505cb6db44c6bb8290980398e.tar.gz
upload-pack.c: do not pass confusing cb_data to mark_our_ref()
The callee does not use cb_data, and the caller is an intermediate function in a callchain that later wants to use the cb_data for its own use. Clarify the code by breaking the dataflow explicitly by not passing cb_data down to mark_our_ref(). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.c')
0 files changed, 0 insertions, 0 deletions