Re: Unexpected working directory in post-receive hook in non-bare repository

2017-04-10 Thread Ævar Arnfjörð Bjarmason
On Sun, Apr 9, 2017 at 3:01 PM, Simon Ruderich wrote: > The following snippet reproduces the issue for me (note the > remote: line in its output): > > git --version > > rm -rf a b > > git init a > cd a > echo first >data > git add data > git commit -m initial > cat

Unexpected working directory in post-receive hook in non-bare repository

2017-04-09 Thread Simon Ruderich
Hello, The following snippet reproduces the issue for me (note the remote: line in its output): git --version rm -rf a b git init a cd a echo first >data git add data git commit -m initial cat >>.git/hooks/post-receive <>data git add data git commit -m te