[Ilugc] Git push size in pre-receive of the master

  • From: vcbuddy@xxxxxxxxx (Version Control Buddy)
  • Date: Tue, 8 Nov 2011 16:24:26 +0530

I am trying to restrict the size of the git push using a pre-recieve
hook. In the case of svn I can do it with a precommit hook by checking
the size of the transaction file. I am not sure how to do this with
git. Any suggestions ?

Other related posts: