Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-30 09:50:48 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-30 09:50:48 +0400
commit7f8e982834bbc476e73c2ec02ebe8749caef51bc (patch)
tree8f2be600dd47fcac953cc566b2520b6a7ded0357 /receive-pack.c
parente4b5c7fff47d3a794249ea2da6b9ec4e33e157f3 (diff)
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 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;
}