]> git.ipfire.org Git - thirdparty/git.git/commit
mv: remove unneeded 'if (!show_only)'
authorStefan Moch <stefanmoch@mail.de>
Sun, 31 Dec 2017 19:11:56 +0000 (20:11 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Feb 2018 19:43:51 +0000 (11:43 -0800)
commit4cbe92fd41567e48ca60f4c810479b63ba8421fd
treeea33a8b9ca93ace49345d9a3efa4f998a92aa0f5
parent36b78cd9db97f3665935e4b32ff9566e4bbd0d17
mv: remove unneeded 'if (!show_only)'

Commit a127331cd (mv: allow moving nested submodules,
2016-04-19), introduced

    if (show_only) continue;

in this for-loop before

    if (!show_only)

which became redundant, because it is now always true.

Signed-off-by: Stefan Moch <stefanmoch@mail.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/mv.c