[git-users] content of pushed files

2014-01-29 Thread Gabby Romano
it might be an easy one but somehow I am not sure how to get my hands on it. I want to have a hook which checks the content of the a file and to decide whether to deny or accept the push by some validation on the content. how do I extract the content of the related files ? (bare repo of

Re: [git-users] content of pushed files

2014-01-29 Thread Konstantin Khomoutov
On Wed, 29 Jan 2014 06:51:48 -0800 (PST) Gabby Romano omerik...@gmail.com wrote: it might be an easy one but somehow I am not sure how to get my hands on it. I want to have a hook which checks the content of the a file and to decide whether to deny or accept the push by some validation on the

Re: [git-users] content of pushed files

2014-01-29 Thread Gabby Romano
As usual, very detailed answer. couldn't ask for more. I knew that git show is very useful, just didn't know how much...:-) thanks a lot. On Wed, Jan 29, 2014 at 6:13 PM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Wed, 29 Jan 2014 06:51:48 -0800 (PST) Gabby Romano