Re: [PATCH 0/4] Pulling refs files
- From
Petr Baudis <pasky@ucw.cz>
- Date
- May 19, 2005, 06:52 UTC
- Message-ID
- <20050519065207.GB18281@pasky.ji.cz>
- In-Reply-To
- <Pine.LNX.4.21.0505182259060.30848-100000@iabervon.org>
Dear diary, on Thu, May 19, 2005 at 05:19:01AM CEST, I got a letter where Daniel Barkalow <barkalow@iabervon.org> told me that...
Show 9 quoted lines
> 2) fetching reference files by name, and making them available to the > local program without writing them to disk at all. > 3) fetching other files by name and writing them to either the > corresponding filename or a provided replacement. > > I had thought that (2) could be done as a special case of (3), but I think > that it has to be separate, because (2) just returns the value, while > (3) can't just return the contents, but has to write it somewhere, since > it isn't constrained to be exactly 20 bytes.
Huh. How would (2) be useful and why can't you just still write it e.g. to some user-supplied temporary file? I think that'd be still actually much less trouble for the scripts to handle.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor