Re: git-cvsexportcommit fails for huge commits
fredag 14 december 2007 skrev Jeff King:
Show 10 quoted lines
> On Thu, Dec 13, 2007 at 11:45:54PM -0500, Jeff King wrote:
>
> > So it seems that we could probably go with something more like 64K, and
> > then only truly pathological cases should trigger the behavior.
>
> So here is a cleaned up patch. It bumps the maximum size to 64kB, adds
> scalar support (nobody uses it, but it makes sense for the interface to
> match that of safe_pipe_capture -- I am even tempted to just replace
> safe_pipe_capture entirely and convert the few other callers), and
> cleans up the unused safe_pipe_capture_blob.
Wouldn't using the POSIX::ARG_MAX constant work?
-- robin