diff options
-rw-r--r-- | upload-pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upload-pack.c b/upload-pack.c index 5dc8e1f844..1006bebd50 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -321,6 +321,7 @@ static void create_pack_file(struct upload_pack_data *pack_data, pack_objects.in = -1; pack_objects.out = -1; pack_objects.err = -1; + pack_objects.clean_on_exit = 1; if (start_command(&pack_objects)) die("git upload-pack: unable to fork git-pack-objects"); |