receive-pack.c: move iterating over all commands outside execute_commands
commita1a261457c0577f5e0620fcc2b803999a6d5b8cf
authorStefan Beller <sbeller@google.com>
Thu, 8 Jan 2015 03:23:17 +0000 (7 19:23 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Jan 2015 03:56:43 +0000 (7 19:56 -0800)
tree4f25948a2a7a46974cf16e440c85a3463d866ee3
parentb6a4788586d8d1e88eee298c4a9a571416e50e3a
receive-pack.c: move iterating over all commands outside execute_commands

This commit allows us in a later patch to easily distinguish between
the non atomic way to update the received refs and the atomic way which
is introduced in a later patch.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c