Re: [PATCH - stgit] Patch to allow import of compressed files
- From
- Sverre Rabbelier <alturin@gmail.com>
- Date
- Jun 10, 2008, 09:57 UTC
- Message-ID
- <bd6139dc0806100257k4700d364occ08457279e8a735@mail.gmail.com>
- In-Reply-To
- <20080610095349.GA30119@diana.vm.bytemark.co.uk>
On Tue, Jun 10, 2008 at 11:53 AM, Karl Hasselström <kha@treskal.com> wrote:
Show 7 quoted lines
> 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