aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorShaoxuan Yuan <shaoxuan.yuan02@gmail.com>2022-06-30 10:37:33 +0800
committerJunio C Hamano <gitster@pobox.com>2022-07-01 14:50:16 -0700
commit7889755bae89fd792924e95d713a94578b902d11 (patch)
tree6b3e913c861229ea182bbe81fd2f9a0e6dd1018e /commit-graph.c
parentmv: update sparsity after moving from out-of-cone to in-cone (diff)
downloadgit-7889755bae89fd792924e95d713a94578b902d11.tar.gz
git-7889755bae89fd792924e95d713a94578b902d11.zip
mv: decouple if/else-if checks using goto
Previous if/else-if chain are highly nested and hard to develop/extend. Refactor to decouple this if/else-if chain by using goto to jump ahead. Suggested-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Shaoxuan Yuan <shaoxuan.yuan02@gmail.com> Acked-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions