anchor.diff:  
   handle_upload_pack_nosuchrepo(Sock, Repo) ->
     io:format("no such repo: ~p~n", [Repo]),
  +  ok = gen_tcp:close(Sock).
  +  
  +handle_upload_pack_permission_denied(Sock, Repo) ->
  +  io:format("permission denied to repo: ~p~n", [Repo]),
     ok = gen_tcp:close(Sock).
   
   gather_out(Port) ->
  
positive.code:   end,
    
    % check for git-daemon-export-ok file
    
    % make the port
    Command = "git upload-pack " ++ FullPath,
  
negative.code:     handle_upload_pack_impl(Sock, MethodSpec)
    catch
      throw:{no_such_repo, Repo} ->
        handle_upload_pack_nosuchrepo(Sock, Repo);
      throw:{permission_denied, Repo} ->
        handle_upload_pack_permission_denied(Sock, Repo)
    end.
  
  handle_upload_pack_impl(Sock, MethodSpec) ->
  