Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: break up nested ternaries into multiple lines #1158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 26, 2021

  1. Refactor: break up nested ternaries into multiple lines

    We have some places where multiple ternary operators are nested on a
    single line.  Break them up into multiple lines. I think this is much
    easier to read because the indentation shows the nesting structure.
    No functional change here.
    
    Reading through format_append_arg(), I noticed that "echo %%(commit"
    with the missing closing parenthesis is not supported. Probably
    not worth spending too much time on that.
    krobelus committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    20c1ca8 View commit details
    Browse the repository at this point in the history