summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-13 11:13:32 -0700
committerJunio C Hamano <gitster@pobox.com>2015-10-21 15:36:37 -0700
commit269e239c48ac8f70248beb4539535af0ed930682 (patch)
tree34cd07a82057c5907b7a49c84358385cc71d8e2c /git-commit-script
parentc1b40bd7b616792de5f307ecdfd8ac45573bc4f9 (diff)
mailinfo: get rid of function-local static states
Two helper functions use "static int" in their scope to keep track of the state while repeatedly getting called once for each input line. Move these state variables to their ultimate caller and pass down pointers to them along the callchain, as a small step in preparation for making this entire callchain more reentrant. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions