]> git.ipfire.org Git - thirdparty/git.git/commit
dir: minor refactoring / clean-up
authorGoss Geppert <ggossdev@gmail.com>
Thu, 16 Jun 2022 23:44:33 +0000 (23:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jun 2022 05:47:33 +0000 (22:47 -0700)
commitd6c9a717558a5ec36516026e68dcad3cbc4df1ff
treeef47763ad983bea3dd8e260015d3f7b91a219f62
parent27128996b88f3dd0624324f8eb9648c0754cfa20
dir: minor refactoring / clean-up

Narrow the scope of the `nested_repo` variable and conditional return
statement to the block where the variable is set.

Signed-off-by: Goss Geppert <ggossdev@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c