Re: [PATCH] Split sample update hook into post-receive hook

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alex Riesen
Date: Thursday, March 8, 2007 - 2:57 am

On 3/8/07, Junio C Hamano <junkio@cox.net> wrote:

I'm not too worried about linux. It wont have any problems
even if you supply megabytes of arguments (if someone will
really need such lists, he can increase MAX_ARG_PAGES
and be done with it).

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).

Maybe provide this hooks with simply formatted list on stdin? I.e.

<old-ref> <new-ref> <ref-name> LF
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Split sample update hook into post-receive hook, Shawn O. Pearce, (Wed Mar 7, 9:16 pm)
Re: [PATCH] Split sample update hook into post-receive hook, Alex Riesen, (Thu Mar 8, 2:57 am)
Re: [PATCH] Split sample update hook into post-receive hook, Shawn O. Pearce, (Sat Mar 10, 1:29 am)