Alex Riesen [off-list ref] 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.
<old-ref> <new-ref> <ref-name> LF
Yea, exactly what I was thinking. Easily read on stdin using 'read'
in shell, or in Perl, or, in C, or in ... ;-)
--
Shawn.