cmd_add: prepare for next patch
authorAlexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
Tue, 3 Dec 2019 14:02:12 +0000 (14:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Dec 2019 18:10:37 +0000 (10:10 -0800)
commit21bb3083c3859b4d1d222e9f883ecad42f2e886c
tree197fa868a3cba7aedf4113c0ce0ed86a8699b73a
parente440fc5888bd5faf1775fc61621caa3c5fab96b6
cmd_add: prepare for next patch

Some code blocks were moved down to be able to test for `pathspec.nr`
in the next patch. Blocks are moved as is without any changes. This
is done as separate patch to reduce the amount of diffs in next patch.

Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c