]> git.ipfire.org Git - thirdparty/git.git/commit
name-rev: wrap both blocks in braces
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Mon, 11 May 2026 15:45:45 +0000 (17:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 May 2026 00:09:50 +0000 (09:09 +0900)
commit7c78d24c52d65f4442e521c575ef887481a38439
tree952274b58d34c829d8698ef54f1dea7524c4bce9
parent67ad42147a7acc2af6074753ebd03d904476118f
name-rev: wrap both blocks in braces

See `CodingGuidelines`:

    - When there are multiple arms to a conditional and some of them
      require braces, enclose even a single line block in braces for
      consistency. [...]

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/name-rev.c