summaryrefslogtreecommitdiff
path: root/t/t7519-status-fsmonitor.sh
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2018-10-18 13:43:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-19 12:04:53 +0900
commit1d1243fe6328db9b2b045afee9357ab7c6c515f1 (patch)
tree11e45495d8436d6e1da17922824051c6c4cb4488 /t/t7519-status-fsmonitor.sh
parentupload-pack: make have_obj not global (diff)
downloadtgif-1d1243fe6328db9b2b045afee9357ab7c6c515f1.tar.xz
upload-pack: make want_obj not global
Because upload_pack_v2() can be invoked multiple times in the same process, the static variable want_obj may not be empty when it is invoked. To make further analysis of this situation easier, make the variable local; analysis will be done in a subsequent patch. The new local variable in upload_pack_v2() is static to preserve existing behavior; this is not necessary in upload_pack() because upload_pack() is only invoked once per process. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7519-status-fsmonitor.sh')
0 files changed, 0 insertions, 0 deletions