aboutsummaryrefslogtreecommitdiff
path: root/sigchain.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-11 12:19:54 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-11 12:23:42 -0700
commitb64a98460682366d7533ea251d26026b85bb39cb (patch)
treeb3589cb7300f06cebb502dd14f32101fed5a28b7 /sigchain.h
parentce1d3a93a6405b8a0313491df3099919ed3d150f (diff)
downloadgit-b64a98460682366d7533ea251d26026b85bb39cb.tar.gz
git-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 'sigchain.h')
0 files changed, 0 insertions, 0 deletions