diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-08-07 14:02:04 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-08-18 02:34:09 +0200 |
commit | 1564db11fe291eb21b5f57a063deb482cedf323d (patch) | |
tree | 2b8657e5a92f8ece775f46753fdf2da3f6e998a2 /src/pkt.c | |
parent | ade3c9bb88b0afb4b025cf92c74e17704c9bc4f4 (diff) | |
download | libgit2-1564db11fe291eb21b5f57a063deb482cedf323d.tar.gz |
Remove enum git_whn
Instead, use flags inside the git_remote_head structure.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/pkt.c')
-rw-r--r-- | src/pkt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -318,8 +318,8 @@ int git_pkt_send_wants(git_headarray *refs, git_transport_caps *caps, int fd) for (; i < refs->len; ++i) { head = refs->heads[i]; - if (head->type != GIT_WHN_WANT) - continue; /* FIXME: return? refs shouldn't have any other type */ + if (head->local) + continue; git_oid_fmt(buf + STRLEN(WANT_PREFIX), &head->oid); gitno_send(fd, buf, STRLEN(buf), 0); |