summaryrefslogtreecommitdiff
path: root/src/pack-objects.c
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-04-27 03:57:53 -0700
committerVicent Marti <vicent@github.com>2014-04-27 03:57:53 -0700
commitec77105889105204f0efd723200aa74971e8edd3 (patch)
treee97e65624ca8950ec2bf257ef0f0ad77639b803f /src/pack-objects.c
parent4f9d54146d569fffb679386fd3057e571afacd1f (diff)
parent38d338b2b85f280fe54057375fc3ccd6d2877e26 (diff)
downloadlibgit2-ec77105889105204f0efd723200aa74971e8edd3.tar.gz
Merge pull request #2301 from libgit2/cmn/pack-objects-memory
Keep the deflate buffer from ballooning up
Diffstat (limited to 'src/pack-objects.c')
-rw-r--r--src/pack-objects.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pack-objects.c b/src/pack-objects.c
index 7e5f667f4..ace8afd17 100644
--- a/src/pack-objects.c
+++ b/src/pack-objects.c
@@ -406,6 +406,7 @@ static int write_one(
po->delta = NULL;
}
+ *status = WRITE_ONE_WRITTEN;
po->written = 1;
po->recursing = 0;