diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-05-28 11:59:10 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-26 18:18:12 +0200 |
| commit | b31803f3106f657a6cc6b8c4fd69e017edad2af8 (patch) | |
| tree | 3b31c735496054ef1dfdf77e6926da1c675145f8 /include/git2/pkt.h | |
| parent | 78fae47878111dd9833345fa622bafb51e5d69b5 (diff) | |
| download | libgit2-b31803f3106f657a6cc6b8c4fd69e017edad2af8.tar.gz | |
pkt-line: parse other-ref lines
Add support for parsing other-ref lines.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/pkt.h')
| -rw-r--r-- | include/git2/pkt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/pkt.h b/include/git2/pkt.h index 4a0767e27..680dcc618 100644 --- a/include/git2/pkt.h +++ b/include/git2/pkt.h @@ -28,7 +28,7 @@ enum git_pkt_type { GIT_PKT_CMD, GIT_PKT_FLUSH, - GIT_PKT_HEAD, + GIT_PKT_REF, GIT_PKT_HAVE, }; @@ -45,7 +45,7 @@ struct git_pkt_cmd { }; /* This is a pkt-line with some info in it */ -struct git_pkt_head { +struct git_pkt_ref { enum git_pkt_type type; git_remote_head head; }; |
