Re: [PATCH] upload-pack: add a trigger for post-upload-pack hook
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 26, 2009, 08:44 UTC
- Message-ID
- <alpine.DEB.1.00.0908261043140.4713@intel-tinevez-2-302>
- In-Reply-To
- <7vprajmp16.fsf@alter.siamese.dyndns.org>
Hi,
On Tue, 25 Aug 2009, Junio C Hamano wrote:
> If we are allowed to talk about asking for the moon,
How about
run_hook(NULL, "post-upload-pack",
create_full_pack ? "clone" : "fetch,
"the moon",
NULL);then?
> and if one of the primary reason for this new hook is statistics, it > would be useful to see the number of bytes given, where the fetch-pack > came from, and if we are using git-daemon virtual hosting which of our > domain served the request.
Certainly those are possible add-on patches, but would you require them to be in the same commit?
Ciao, Dscho