From: Sverre Rabbelier Date: Tue, 10 Jun 2008 09:57:05 GMT Subject: Re: [PATCH - stgit] Patch to allow import of compressed files Message-ID: In-Reply-To: <20080610095349.GA30119@diana.vm.bytemark.co.uk> On Tue, Jun 10, 2008 at 11:53 AM, Karl Hasselström wrote: > On 2008-06-10 10:07:25 +0200, Sverre Rabbelier wrote: > >> How about adding in '.tar' decompression as well, -after- the '.gz' >> decompression? That way you can have .tar.gz's and still be fine. > > A tar file would presumably contain more than one patch -- it'd be > more like a directory of patches than a single patch file. Why? $ tar czvf mypatch.patch.tar.gz mypatch.patch > I'm not saying it wouldn't be nice to support it, but it's not what > the original poster needed, and building it would be a bunch of extra > work. A bunch of extra work? http://docs.python.org/lib/module-tarfile.html I say it'd be about as much work as the original patch ;). -- Cheers, Sverre Rabbelier