summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-04-20 22:06:05 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-04-21 10:24:16 +0200
commit4f62163ead2bde1af3cd7d0c0b8990e1831d3ffd (patch)
tree063409a3c6e81d5a7f36defb01765543e49a2d8f /include
parent9effa2fb72f20332c2c8a83540bb224a32e0265b (diff)
downloadlibgit2-4f62163ead2bde1af3cd7d0c0b8990e1831d3ffd.tar.gz
Check the return codes of remote callbacks.
The user may have requested that the operation be cancelled.
Diffstat (limited to 'include')
-rw-r--r--include/git2/remote.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 88040d49c..d57321f03 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -455,8 +455,7 @@ struct git_remote_callbacks {
/**
* Textual progress from the remote. Text send over the
* progress side-band will be passed to this function (this is
- * the 'counting objects' output. This callback should return a value less
- * than zero to cancel the operation.
+ * the 'counting objects' output.
*/
int (*progress)(const char *str, int len, void *data);