summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorLibravatar Alexander Kuleshov <kuleshovmail@gmail.com>2015-03-02 18:02:37 +0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-06 12:03:30 -0800
commit8fa7975b076ae039f63286601f48e64115e2aba7 (patch)
treef43179fa5fd24372fcc76a6cd6bac040227909d8 /refs.h
parentGit 2.3 (diff)
downloadtgif-8fa7975b076ae039f63286601f48e64115e2aba7.tar.xz
git: make was_alias and done_help non-static
'was_alias' variable does not need to store it's value on each iteration in the loop; this variable gets assigned the result of run_argv() every time in the loop before being used. 'done_help' variable does not need to be static variable too if we move it out the loop. Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
0 files changed, 0 insertions, 0 deletions