diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2019-09-30 20:29:34 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-02 15:04:16 +0900 |
commit | 8da02ce62a4e76aea7a02d56b66b10eedc8e6db8 (patch) | |
tree | 32eb5f7fe16c8bf5d7effb4e241cb06e36fa97fa /t/t4013/diff.whatchanged_-SF_-p_master | |
parent | Git 2.23 (diff) | |
download | tgif-8da02ce62a4e76aea7a02d56b66b10eedc8e6db8.tar.xz |
commit-graph: remove a duplicate assignment
Leave the variable 'g' uninitialized before it is set just before its
first use in front of a loop, which is a much more appropriate place to
indicate what it is used for.
Also initialize the variable 'num_commits' just before the loop instead
of at the beginning of the function for the same reason.
Reviewed-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.whatchanged_-SF_-p_master')
0 files changed, 0 insertions, 0 deletions