Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-08-27 08:37:56 +0300
committerJunio C Hamano <gitster@pobox.com>2019-08-28 01:33:40 +0300
commit2b318aa6c3566ad65d9547f42828f277955e6519 (patch)
tree9bcebc2372ae4d795c96dd57ab9ee299d9a08fe9 /t/t3400-rebase.sh
parentc9efc216830fa2fb71e7d917294e4530a33a4da1 (diff)
rebase: refactor can_fast_forward into goto tower
Before, can_fast_forward was written with an if-else statement. However, in the future, we may be adding more termination cases which would lead to deeply nested if statements. Refactor to use a goto tower so that future cases can be easily inserted. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3400-rebase.sh')
0 files changed, 0 insertions, 0 deletions