From: Magnus Bäck Date: Fri, 04 Nov 2011 09:46:44 GMT Subject: Re: Find the size of git push in pre-receive hook Message-ID: <20111104094644.GA31856@jpl.local> In-Reply-To: <1320398420796-6962141.post@n2.nabble.com> On Friday, November 04, 2011 at 10:20 CET, manigandans wrote: > I want to restrict the size of the push on the git remote repository. > How can I find the size of the push in pre-receive hook? What does "size of the push" mean to you? Number of bytes transmitted over the wire? Number of commits pushed? Number of refs updated? Number of files modified? Number of lines modified? Something else? -- Magnus Bäck Opinions are my own and do not necessarily SW Configuration Manager represent the ones of my employer, etc. Sony Ericsson