]> git.99rst.org Git - git.git/commit
repo: remove unnecessary variable shadow
authorK Jayatheerth <redacted>
Mon, 23 Feb 2026 13:52:48 +0000 (19:22 +0530)
committerJunio C Hamano <redacted>
Fri, 27 Feb 2026 18:52:33 +0000 (10:52 -0800)
commita66c8c7f91b13ba56e734fe95ab8ad5e61ad6b45
tree54520ec246646d3420e6c91aab9a808e610ff5bf
parentbbb2b9334856ae0a2b18e65e5924a42c31a83c6b
repo: remove unnecessary variable shadow

Avoid redeclaring `entry` inside the conditional block, removing
unnecessary variable shadowing and improving code clarity without
changing behavior.

Signed-off-by: K Jayatheerth <redacted>
Acked-by: Justin Tobler <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/repo.c
git clone https://git.99rst.org/PROJECT