From: Shawn O. Pearce Date: Thu, 08 Mar 2007 10:02:37 GMT Subject: Re: [PATCH] Split sample update hook into post-receive hook Message-ID: <20070308100237.GF30289@spearce.org> In-Reply-To: <81b0412b0703080157n413de6f6q35ae24e2620df91d@mail.gmail.com> Alex Riesen wrote: > The proprietary OS' will have the problem, though. And far sooner > than 1300 refs (w2k has only 32767 bytes for command line). > Besides, don't overestimate peoples readiness to be careful > about reference names. I would expect reference names over > 100 bytes in length to happen regularly (generated from file names > appended with a timestamp, for example). Cygwin's lifted that argument handling to be unlimited. But yes, the point holds, not all OSen will do well with long ref names and a lot of refs (such as in an initial push of a very verbosely named project). > Maybe provide this hooks with simply formatted list on stdin? I.e. > > LF Yea, exactly what I was thinking. Easily read on stdin using 'read' in shell, or in Perl, or, in C, or in ... ;-) -- Shawn.