aboutsummaryrefslogtreecommitdiffstats
path: root/git-gui/lib/commit.tcl
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-gui/lib/commit.tcl
parentmailinfo: move definition of MAX_HDR_PARSED closer to its use (diff)
downloadgit-269e239c48ac8f70248beb4539535af0ed930682.tar.gz
git-269e239c48ac8f70248beb4539535af0ed930682.zip
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-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions