diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2025-07-15 13:28:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-07-15 11:54:20 -0700 |
commit | 526530a16a3c345643afb324107b4a216b8d37ff (patch) | |
tree | 1466dd3c06190404557a1aaa7161bd2f24ed4f68 /commit-slab.h | |
parent | 2b4648b9190b552e942d93363482bd617a510fc1 (diff) |
ref-filter: remove unnecessary else clause
In 'ref-filter.c', there is an 'else' clause within `do_filter_refs()`.
This is unnecessary since the 'if' clause calls `die()`, which would
exit the program. So let's remove the unnecessary 'else' clause. This
improves readability since the indentation is also reduced and flow is
simpler.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-slab.h')
0 files changed, 0 insertions, 0 deletions