Server-side hooks on non-bare repository

2017-03-03 Thread Mike Lewis
Hello, I’m having some issues with using server-side hooks when pushing to a non-bare repository. In my git config, I have `receive.denyCurrentBranch` set to `updateInstead`, which behaves as expected, and updates the current working tree when the current branch is pushed to. However, attemptin

Re: Server-side hooks on non-bare repository

2017-03-06 Thread Junio C Hamano
Mike Lewis writes: > I’m having some issues with using server-side hooks when pushing > to a non-bare repository. In my git config, I have > `receive.denyCurrentBranch` set to `updateInstead`, which behaves > as expected, and updates the current working tree when the current > branch is pushed to

Re: Server-side hooks on non-bare repository

2017-03-06 Thread Mike Lewis
Hi Junio, Thanks for taking the time to reply. I apologize if there was a misunderstanding in my previous email; I'm relatively new to dealing with some of the more advanced features of git, and did not describe my situation as clearly as possible. I am using the pre-receive hook to determine