summaryrefslogtreecommitdiff
path: root/include/git2/net.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-08-07 14:27:47 +0200
committerVicent Marti <tanoku@gmail.com>2011-08-18 02:34:09 +0200
commita1be77cd3534c09b0710794a44a0aed6fd6c3e21 (patch)
tree5ae5b3e822032983cbb729a1708ab1b49af05820 /include/git2/net.h
parent1564db11fe291eb21b5f57a063deb482cedf323d (diff)
downloadlibgit2-a1be77cd3534c09b0710794a44a0aed6fd6c3e21.tar.gz
Be smarter about selecting wants
There is no need to inspect what the local repository is like. Only check whether the objects exist locally. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/net.h')
-rw-r--r--include/git2/net.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index 7c49f804..d4f47552 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -52,8 +52,7 @@ GIT_BEGIN_DECL
* Remote head description, given out on `ls` calls.
*/
struct git_remote_head {
- int local:1, /* available locally */
- want:1; /* want to update */
+ int local:1; /* available locally */
git_oid oid;
git_oid loid;
char *name;