Error in sideband demultiplexer with a git post-receive hook Error in sideband demultiplexer with a git post-receive hook apache apache

Error in sideband demultiplexer with a git post-receive hook


I have figured out the problem that I was having. Apparently, you have to make sure you read everything from STDIN before completing the script.

This was my post-receive hook before:

#!/bin/shgit checkout -f

This is what I added that solved the problem:

#!/bin/shwhile read oldrev newrev refnamedo:donegit checkout -f