aboutsummaryrefslogtreecommitdiff
path: root/receive-pack.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 22:50:48 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-29 22:50:48 -0700
commit7f8e982834bbc476e73c2ec02ebe8749caef51bc (patch)
tree8f2be600dd47fcac953cc566b2520b6a7ded0357 /receive-pack.c
parente4b5c7fff47d3a794249ea2da6b9ec4e33e157f3 (diff)
downloadgit-7f8e982834bbc476e73c2ec02ebe8749caef51bc.tar.gz
git-7f8e982834bbc476e73c2ec02ebe8749caef51bc.tar.xz
Slow but steady progress on git pack receive/send
Diffstat (limited to 'receive-pack.c')
-rw-r--r--receive-pack.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/receive-pack.c b/receive-pack.c
index 13d0b668f..ce0b3c579 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;
}