diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-11 12:19:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-11 12:23:42 -0700 |
commit | b64a98460682366d7533ea251d26026b85bb39cb (patch) | |
tree | b3589cb7300f06cebb502dd14f32101fed5a28b7 /t/t4101 | |
parent | Update draft release notes to 2.2 (diff) | |
download | tgif-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/t4101')
0 files changed, 0 insertions, 0 deletions