libgit2/libgit2 — pull request #992 by carlosmn (2012-10-18 02:38:35+00:00)
Title: remote: support fetch cancelation

Introduce git_remote_stop() which sets a variable that is checked by
the fetch process in a few key places. If this is variable is set, the
fetch is aborted.