Git post-receive hook to auto-merge has unexpected behaviour. Prints all files and leaves uncommited changes I have two separate repos with these branches.