diff options
Diffstat (limited to 'receive-pack.c')
-rw-r--r-- | receive-pack.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/receive-pack.c b/receive-pack.c index 13d0b668f0..ce0b3c5795 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -203,7 +203,9 @@ int main(int argc, char **argv) packet_flush(1); read_head_info(); - unpack(); - execute_commands(); + if (commands) { + unpack(); + execute_commands(); + } return 0; } |