summaryrefslogtreecommitdiff
path: root/git-gui/.gitattributes
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-17 19:08:34 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-17 18:03:11 -0700
commit5f9b64a6c26552af2c3c57ea37f308537dc5bee9 (patch)
tree13a8e46c1a37d74ee05cd6feaf42f0c27620986f /git-gui/.gitattributes
parentreflog.c: indent argument lists (diff)
downloadtgif-5f9b64a6c26552af2c3c57ea37f308537dc5bee9.tar.xz
reflog: refactor cmd_reflog() to "if" branches
Refactor the "if" branches in cmd_reflog() to use "else if" instead, and remove the whitespace between them. As with 92f480909f7 (multi-pack-index: refactor "goto usage" pattern, 2021-08-23) this makes this code more consistent with how builtin/{bundle,stash,commit-graph,multi-pack-index}.c look and behave. Their top-level commands are all similar sub-command routing functions. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/.gitattributes')
0 files changed, 0 insertions, 0 deletions