git_direction

Direction of the connection.

We need this because we need to know whether we should call git-upload-pack or git-receive-pack on the remote end when get_refs gets called.

Values

ValueMeaning
GIT_DIRECTION_FETCH0
GIT_DIRECTION_PUSH1

Meta