summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-09-11 12:19:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-11 12:23:42 -0700
commitb64a98460682366d7533ea251d26026b85bb39cb (patch)
treeb3589cb7300f06cebb502dd14f32101fed5a28b7 /t
parentUpdate draft release notes to 2.2 (diff)
downloadtgif-b64a98460682366d7533ea251d26026b85bb39cb.tar.xz
hash-object: reduce file-scope statics
Most of the knobs that affect helper functions called from cmd_hash_object() were passed to them as parameters already, and the only effect of having them as file-scope statics was to make the reader wonder if the parameters are hiding the file-scope global values by accident. Adjust their initialisation and make them function-local variables. The only exception was no_filters hash_stdin_paths() peeked from the file-scope global, which was converted to a parameter to the helper function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions